Indicators: CaCu and CaMa pages read by rounds, genotypes and steps; history to a chosen period; NCI and indicator references; CaMa follow-up export; API client for eligibility and risk series
This commit is contained in:
+287
@@ -292,6 +292,7 @@
|
||||
"default": "identity",
|
||||
"enum": [
|
||||
"identity",
|
||||
"cacu_eligibility_evidence",
|
||||
"cervical_cytology",
|
||||
"cervical_biopsy",
|
||||
"mammography",
|
||||
@@ -443,6 +444,7 @@
|
||||
"description": "Qu\u00e9 estudio se saca del documento.",
|
||||
"enum": [
|
||||
"identity",
|
||||
"cacu_eligibility_evidence",
|
||||
"cervical_cytology",
|
||||
"cervical_biopsy",
|
||||
"mammography",
|
||||
@@ -465,6 +467,10 @@
|
||||
"label": "Identidad de la persona",
|
||||
"value": "identity"
|
||||
},
|
||||
{
|
||||
"label": "Evidencia cl\u00ednica para elegibilidad CaCu",
|
||||
"value": "cacu_eligibility_evidence"
|
||||
},
|
||||
{
|
||||
"label": "Citolog\u00eda cervical",
|
||||
"value": "cervical_cytology"
|
||||
@@ -641,6 +647,7 @@
|
||||
"entity": {
|
||||
"enum": [
|
||||
"identity",
|
||||
"cacu_eligibility_evidence",
|
||||
"cervical_cytology",
|
||||
"cervical_biopsy",
|
||||
"mammography",
|
||||
@@ -663,6 +670,10 @@
|
||||
"label": "Identidad de la persona",
|
||||
"value": "identity"
|
||||
},
|
||||
{
|
||||
"label": "Evidencia cl\u00ednica para elegibilidad CaCu",
|
||||
"value": "cacu_eligibility_evidence"
|
||||
},
|
||||
{
|
||||
"label": "Citolog\u00eda cervical",
|
||||
"value": "cervical_cytology"
|
||||
@@ -1572,6 +1583,7 @@
|
||||
"entity": {
|
||||
"enum": [
|
||||
"identity",
|
||||
"cacu_eligibility_evidence",
|
||||
"cervical_cytology",
|
||||
"cervical_biopsy",
|
||||
"mammography",
|
||||
@@ -2159,6 +2171,7 @@
|
||||
"description": "En qu\u00e9 estudio de la plataforma se guarda.",
|
||||
"enum": [
|
||||
"identity",
|
||||
"cacu_eligibility_evidence",
|
||||
"cervical_cytology",
|
||||
"cervical_biopsy",
|
||||
"mammography",
|
||||
@@ -2181,6 +2194,10 @@
|
||||
"label": "Identidad de la persona",
|
||||
"value": "identity"
|
||||
},
|
||||
{
|
||||
"label": "Evidencia cl\u00ednica para elegibilidad CaCu",
|
||||
"value": "cacu_eligibility_evidence"
|
||||
},
|
||||
{
|
||||
"label": "Citolog\u00eda cervical",
|
||||
"value": "cervical_cytology"
|
||||
@@ -2832,6 +2849,248 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/cacu/fhir/Patient/{id}/$eligibility": {
|
||||
"get": {
|
||||
"description": "Her indexed candidates of each CaCu cohort: eligible, or every reason she is not.",
|
||||
"operationId": "cacu_eligibility",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "One CaCu scenario (default: every one)",
|
||||
"in": "query",
|
||||
"name": "scenario",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "One CaCu scenario (default: every one)",
|
||||
"title": "Scenario"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Only index dates up to this day",
|
||||
"in": "query",
|
||||
"name": "cutoff",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"anyOf": [
|
||||
{
|
||||
"format": "date",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only index dates up to this day",
|
||||
"title": "Cutoff"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/fhir+json": {
|
||||
"schema": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "FHIR"
|
||||
},
|
||||
"422": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/HTTPValidationError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Validation Error"
|
||||
}
|
||||
},
|
||||
"summary": "Cacu Eligibility",
|
||||
"tags": [
|
||||
"fhir"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/cacu/fhir/Patient/{id}/$reference-risk": {
|
||||
"get": {
|
||||
"description": "Disabled: the NCI series, the master table's included, are in `$risk-series`.",
|
||||
"operationId": "cacu_reference_risk",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Only what was reported by this day",
|
||||
"in": "query",
|
||||
"name": "cutoff",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"anyOf": [
|
||||
{
|
||||
"format": "date",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only what was reported by this day",
|
||||
"title": "Cutoff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "The cytology's sample day (default: her latest)",
|
||||
"in": "query",
|
||||
"name": "sample",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"anyOf": [
|
||||
{
|
||||
"format": "date",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "The cytology's sample day (default: her latest)",
|
||||
"title": "Sample"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/fhir+json": {
|
||||
"schema": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "FHIR"
|
||||
},
|
||||
"422": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/HTTPValidationError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Validation Error"
|
||||
}
|
||||
},
|
||||
"summary": "Cacu Reference Risk",
|
||||
"tags": [
|
||||
"fhir"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/cacu/fhir/Patient/{id}/$risk-series": {
|
||||
"get": {
|
||||
"description": "EXPERIMENTAL. The risk series her record can draw: the models' and the NCI tables',\nby outcome, with their published intervals.",
|
||||
"operationId": "cacu_risk_series",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Only what was reported by this day",
|
||||
"in": "query",
|
||||
"name": "cutoff",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"anyOf": [
|
||||
{
|
||||
"format": "date",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only what was reported by this day",
|
||||
"title": "Cutoff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "The cytology's sample day (default: her latest)",
|
||||
"in": "query",
|
||||
"name": "sample",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"anyOf": [
|
||||
{
|
||||
"format": "date",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "The cytology's sample day (default: her latest)",
|
||||
"title": "Sample"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/fhir+json": {
|
||||
"schema": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "FHIR"
|
||||
},
|
||||
"422": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/HTTPValidationError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Validation Error"
|
||||
}
|
||||
},
|
||||
"summary": "Cacu Risk Series",
|
||||
"tags": [
|
||||
"fhir"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/domains": {
|
||||
"get": {
|
||||
"operationId": "domains",
|
||||
@@ -4179,6 +4438,7 @@
|
||||
"schema": {
|
||||
"enum": [
|
||||
"identity",
|
||||
"cacu_eligibility_evidence",
|
||||
"cervical_cytology",
|
||||
"cervical_biopsy",
|
||||
"mammography",
|
||||
@@ -4287,6 +4547,7 @@
|
||||
"schema": {
|
||||
"enum": [
|
||||
"identity",
|
||||
"cacu_eligibility_evidence",
|
||||
"cervical_cytology",
|
||||
"cervical_biopsy",
|
||||
"mammography",
|
||||
@@ -4541,6 +4802,32 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/runs/rebuild": {
|
||||
"post": {
|
||||
"description": "Starts rebuilding silver and gold with the deployed code (after an upgrade, before any\nnew data); follow it at /runs/{run_id}. The risk tables keep their last scores.",
|
||||
"operationId": "rebuild_gold",
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Response Rebuild Gold",
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Successful Response"
|
||||
}
|
||||
},
|
||||
"summary": "Rebuild Gold",
|
||||
"tags": [
|
||||
"runs"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/runs/{run_id}": {
|
||||
"get": {
|
||||
"operationId": "run_status",
|
||||
|
||||
Reference in New Issue
Block a user