CaMa indicators and follow-up list, model governance page
This commit is contained in:
+81
-9
@@ -2060,6 +2060,72 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/models/{domain}/{name}/versions/{version}/reports/{report}": {
|
||||
"get": {
|
||||
"description": "A version's report: the generated ones as JSON (what the governance page draws), the\nclinical validation as the file the clinical team uploaded.",
|
||||
"operationId": "read_report",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "domain",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Domain"
|
||||
}
|
||||
},
|
||||
{
|
||||
"in": "path",
|
||||
"name": "name",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"in": "path",
|
||||
"name": "version",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"title": "Version",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"in": "path",
|
||||
"name": "report",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"title": "Report",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {},
|
||||
"application/octet-stream": {}
|
||||
},
|
||||
"description": "the report as stored"
|
||||
},
|
||||
"422": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/HTTPValidationError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Validation Error"
|
||||
}
|
||||
},
|
||||
"summary": "Read Report",
|
||||
"tags": [
|
||||
"models"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/review/conflicts": {
|
||||
"get": {
|
||||
"description": "Rows of one person and date that disagree; reject the wrong ones.",
|
||||
@@ -3083,7 +3149,7 @@
|
||||
},
|
||||
"/{domain}/fhir/Patient": {
|
||||
"get": {
|
||||
"description": "Patients; with `follow-up-window`, CaCu's follow-up list at the cut-off, filtered by\nstatus and in reading order, with what the list shows of each patient included.",
|
||||
"description": "Patients; with `follow-up-window`, the domain's follow-up list at the cut-off,\nfiltered by status and in reading order, with what the list shows of each patient\nincluded.",
|
||||
"operationId": "search_patient",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -3111,7 +3177,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "months: whoever had a cytology sampled within them up to the cut-off",
|
||||
"description": "months: the domain's follow-up list over that window up to the cut-off",
|
||||
"in": "query",
|
||||
"name": "follow-up-window",
|
||||
"required": false,
|
||||
@@ -3124,7 +3190,7 @@
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "months: whoever had a cytology sampled within them up to the cut-off",
|
||||
"description": "months: the domain's follow-up list over that window up to the cut-off",
|
||||
"title": "Follow-Up-Window"
|
||||
}
|
||||
},
|
||||
@@ -3164,13 +3230,13 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "one of ('-recent', '-risk-cin2', '-risk-cancer'); the list only",
|
||||
"description": "-recent or -risk-<outcome>",
|
||||
"in": "query",
|
||||
"name": "_sort",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"default": "-recent",
|
||||
"description": "one of ('-recent', '-risk-cin2', '-risk-cancer'); the list only",
|
||||
"description": "-recent or -risk-<outcome>",
|
||||
"title": " Sort",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -3181,10 +3247,16 @@
|
||||
"name": "risk-horizon",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"default": 5.0,
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "years",
|
||||
"title": "Risk-Horizon",
|
||||
"type": "number"
|
||||
"title": "Risk-Horizon"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -3324,7 +3396,7 @@
|
||||
},
|
||||
"/{domain}/fhir/Procedure": {
|
||||
"get": {
|
||||
"description": "Colposcopies and treatments, as the timeline infers them.",
|
||||
"description": "The procedures the domain's timeline infers (CaCu: colposcopies and treatments).",
|
||||
"operationId": "search_procedure",
|
||||
"parameters": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user