TEA follow-up: Patient search with TEA filters and $eeg-summary

Regenerate the OpenAPI document and Angular client with the existing generator configuration. Repeated generation produced identical files.
This commit is contained in:
2026-11-29 19:40:14 -06:00
parent 38ece960f9
commit 12b056343b
4 changed files with 196 additions and 1 deletions
+134 -1
View File
@@ -4861,7 +4861,7 @@
},
"/{domain}/fhir/Patient": {
"get": {
"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.",
"description": "Patients, or the domain's follow-up list selected by window or start.\n\nFor TEA, a cutoff or a TEA filter also selects the follow-up list. Patients without\nfollow-up episodes appear only in the plain search.",
"operationId": "search_patient",
"parameters": [
{
@@ -4906,6 +4906,25 @@
"title": "Follow-Up-Window"
}
},
{
"description": "explicit window start that overrides follow-up-window",
"in": "query",
"name": "follow-up-start",
"required": false,
"schema": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"description": "explicit window start that overrides follow-up-window",
"title": "Follow-Up-Start"
}
},
{
"description": "default: the last day with data",
"in": "query",
@@ -5056,6 +5075,120 @@
]
}
},
"/{domain}/fhir/Patient/$eeg-summary": {
"get": {
"description": "EEG counts for the follow-up list. Without a window or start, use the whole history.",
"operationId": "eeg_summary",
"parameters": [
{
"in": "path",
"name": "domain",
"required": true,
"schema": {
"$ref": "#/components/schemas/Domain"
}
},
{
"description": "months: the domain's follow-up list over that window up to the cut-off",
"in": "query",
"name": "follow-up-window",
"required": false,
"schema": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "months: the domain's follow-up list over that window up to the cut-off",
"title": "Follow-Up-Window"
}
},
{
"description": "explicit window start that overrides follow-up-window",
"in": "query",
"name": "follow-up-start",
"required": false,
"schema": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"description": "explicit window start that overrides follow-up-window",
"title": "Follow-Up-Start"
}
},
{
"description": "default: the last day with data",
"in": "query",
"name": "follow-up-cutoff",
"required": false,
"schema": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"description": "default: the last day with data",
"title": "Follow-Up-Cutoff"
}
},
{
"in": "query",
"name": "follow-up-status",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Follow-Up-Status"
}
}
],
"responses": {
"200": {
"content": {
"application/fhir+json": {
"schema": {
"type": "object"
}
}
},
"description": "FHIR"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"summary": "Eeg Summary",
"tags": [
"fhir"
]
}
},
"/{domain}/fhir/Patient/{id}": {
"get": {
"operationId": "read_patient",