TEA indicators, EEG section in governance
This commit is contained in:
+328
-6
@@ -1,6 +1,63 @@
|
||||
{
|
||||
"components": {
|
||||
"schemas": {
|
||||
"Analysis": {
|
||||
"properties": {
|
||||
"age_months": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Age Months"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"level": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Level"
|
||||
},
|
||||
"metrics": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Metric"
|
||||
},
|
||||
"title": "Metrics",
|
||||
"type": "array"
|
||||
},
|
||||
"valid": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Valid"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"valid",
|
||||
"level",
|
||||
"age_months",
|
||||
"metrics"
|
||||
],
|
||||
"title": "Analysis",
|
||||
"type": "object"
|
||||
},
|
||||
"Body_add_clinical_validation": {
|
||||
"properties": {
|
||||
"file": {
|
||||
@@ -127,7 +184,10 @@
|
||||
"mammography",
|
||||
"breast_biopsy",
|
||||
"clinical_note",
|
||||
"death"
|
||||
"death",
|
||||
"mchat",
|
||||
"ados2",
|
||||
"eeg"
|
||||
],
|
||||
"title": "Entity",
|
||||
"type": "string"
|
||||
@@ -239,7 +299,10 @@
|
||||
"mammography",
|
||||
"breast_biopsy",
|
||||
"clinical_note",
|
||||
"death"
|
||||
"death",
|
||||
"mchat",
|
||||
"ados2",
|
||||
"eeg"
|
||||
],
|
||||
"title": "Entity",
|
||||
"type": "string"
|
||||
@@ -523,6 +586,14 @@
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"values": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": {},
|
||||
"title": "Values",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -532,6 +603,60 @@
|
||||
"title": "Map",
|
||||
"type": "object"
|
||||
},
|
||||
"Metric": {
|
||||
"properties": {
|
||||
"code": {
|
||||
"title": "Code",
|
||||
"type": "string"
|
||||
},
|
||||
"model": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Model"
|
||||
},
|
||||
"outside": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Outside"
|
||||
},
|
||||
"value": {
|
||||
"title": "Value",
|
||||
"type": "number"
|
||||
},
|
||||
"z": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Z"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"code",
|
||||
"value",
|
||||
"z",
|
||||
"outside",
|
||||
"model"
|
||||
],
|
||||
"title": "Metric",
|
||||
"type": "object"
|
||||
},
|
||||
"PersonDecision": {
|
||||
"properties": {
|
||||
"candidate": {
|
||||
@@ -694,7 +819,10 @@
|
||||
"mammography",
|
||||
"breast_biopsy",
|
||||
"clinical_note",
|
||||
"death"
|
||||
"death",
|
||||
"mchat",
|
||||
"ados2",
|
||||
"eeg"
|
||||
],
|
||||
"title": "Entity",
|
||||
"type": "string"
|
||||
@@ -917,6 +1045,70 @@
|
||||
"title": "SourceRef",
|
||||
"type": "object"
|
||||
},
|
||||
"Study": {
|
||||
"properties": {
|
||||
"analysed": {
|
||||
"title": "Analysed",
|
||||
"type": "boolean"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"lab_record_id": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Lab Record Id"
|
||||
},
|
||||
"level": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Level"
|
||||
},
|
||||
"person_id": {
|
||||
"title": "Person Id",
|
||||
"type": "string"
|
||||
},
|
||||
"study_date": {
|
||||
"title": "Study Date",
|
||||
"type": "string"
|
||||
},
|
||||
"valid": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Valid"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"person_id",
|
||||
"study_date",
|
||||
"lab_record_id",
|
||||
"analysed",
|
||||
"valid",
|
||||
"level"
|
||||
],
|
||||
"title": "Study",
|
||||
"type": "object"
|
||||
},
|
||||
"Target": {
|
||||
"additionalProperties": false,
|
||||
"description": "Rows of platform fields into one platform entity, each row given its person by the\none `link` node among the inputs. Rule breaks are held for review.",
|
||||
@@ -929,7 +1121,10 @@
|
||||
"mammography",
|
||||
"breast_biopsy",
|
||||
"clinical_note",
|
||||
"death"
|
||||
"death",
|
||||
"mchat",
|
||||
"ados2",
|
||||
"eeg"
|
||||
],
|
||||
"title": "Entity",
|
||||
"type": "string"
|
||||
@@ -992,6 +1187,14 @@
|
||||
}
|
||||
],
|
||||
"title": "As Of"
|
||||
},
|
||||
"models": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Models",
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"title": "Training",
|
||||
@@ -1770,6 +1973,52 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/models/{domain}/analyze": {
|
||||
"post": {
|
||||
"description": "Starts analysing the studies the domain's models read whole (TEA: its EEGs); follow\nit at /runs.",
|
||||
"operationId": "analyze",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "domain",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Domain"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Response Analyze",
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Successful Response"
|
||||
},
|
||||
"422": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/HTTPValidationError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Validation Error"
|
||||
}
|
||||
},
|
||||
"summary": "Analyze",
|
||||
"tags": [
|
||||
"models"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/models/{domain}/score": {
|
||||
"post": {
|
||||
"description": "Starts a risk batch from each model's champion; follow it at /runs.",
|
||||
@@ -2143,7 +2392,10 @@
|
||||
"mammography",
|
||||
"breast_biopsy",
|
||||
"clinical_note",
|
||||
"death"
|
||||
"death",
|
||||
"mchat",
|
||||
"ados2",
|
||||
"eeg"
|
||||
],
|
||||
"title": "Entity",
|
||||
"type": "string"
|
||||
@@ -2246,7 +2498,10 @@
|
||||
"mammography",
|
||||
"breast_biopsy",
|
||||
"clinical_note",
|
||||
"death"
|
||||
"death",
|
||||
"mchat",
|
||||
"ados2",
|
||||
"eeg"
|
||||
],
|
||||
"title": "Entity",
|
||||
"type": "string"
|
||||
@@ -2486,6 +2741,73 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/tea/eegs": {
|
||||
"get": {
|
||||
"operationId": "studies",
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Study"
|
||||
},
|
||||
"title": "Response Studies",
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Successful Response"
|
||||
}
|
||||
},
|
||||
"summary": "Studies",
|
||||
"tags": [
|
||||
"eeg"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/tea/eegs/{eeg_id}": {
|
||||
"get": {
|
||||
"operationId": "study",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "eeg_id",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"title": "Eeg Id",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Analysis"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Successful Response"
|
||||
},
|
||||
"422": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/HTTPValidationError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Validation Error"
|
||||
}
|
||||
},
|
||||
"summary": "Study",
|
||||
"tags": [
|
||||
"eeg"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/{domain}/fhir": {
|
||||
"post": {
|
||||
"description": "A standard hospital's Bundle: checked as FHIR, kept as sent in the sender's inbox,\nand placed by the sender's pipeline (a run starts; follow it at the Location).",
|
||||
|
||||
Reference in New Issue
Block a user