ЕСОЗ - публічна документація
RCС_CSI-3205 Приклади запитів та відповідей по Composition API
- Kateryna Haleta (SoE eHealth)
Owned by Kateryna Haleta (SoE eHealth)
Змінено параметр AUTHORIZE_WITH на INFORM_WITH
Створення МВТН категорії “SICKNESS”
{
"category": {
"coding": [
{
"system": "COMPOSITION_CATEGORIES",
"code": "SICKNESS"
}
]
},
"type": {
"coding": [
{
"system": "COMPOSITION_TYPES",
"code": "TEMP_DISABILITY"
}
]
},
"event": [
{
"code": {
"coding": [
{
"system": "COMPOSITION_EVENTS",
"code": "COMPOSITION_VALIDITY_PERIOD"
}
]
},
"period": {
"start": "2022-10-24T10:45:16Z",
"end": "2022-10-28T10:45:16Z"
}
}
],
"subject": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "person"
}
],
"text": "string"
},
"value": "52b504c7-0177-4078-834b-52d89154081c"
},
"encounter": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "encounter"
}
],
"text": "string"
},
"value": "e39ee5ae-2644-4f04-8e64-bb359866e907"
},
"author": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "employee"
}
],
"text": "string"
},
"value": "43cc2161-1c2b-481b-a618-77e35817f850"
},
"section": {
"focus": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "person"
}
],
"text": "string"
},
"value": "52b504c7-0177-4078-834b-52d89154081c"
}
},
"extension": [
{
"valueCode": "INFORM_WITH",
"valueUuid": "e7ff2eef-712f-4676-960d-6aa16dce2103"
},
{
"valueCode": "IS_ACCIDENT",
"valueBoolean": true
},
{
"valueCode": "TREATMENT_VIOLATION",
"valueString": "reject_recommendation"
},
{
"valueCode": "TREATMENT_VIOLATION_DATE",
"valueDate": "2022-10-24"
},
{
"valueCode": "IS_INTOXICATED",
"valueBoolean": true
},
{
"valueCode": "IS_FOREIGN_TREATMENT",
"valueBoolean": true
},
{
"valueCode": "IS_FORCE_RENEW",
"valueBoolean": true
}
]
}
{
"data": {
"eta": "2022-10-24T12:35:49.956Z",
"id": "89678f60-4cdc-4fe3-ae83-e8b3ebd35c59",
"links": [
{
"entity": "eHealth/resources"
}
],
"status": "PENDING"
}
}
Створення МВН категорії “LIVE_BIRTH”
{
"category": {
"coding": [
{
"system": "COMPOSITION_CATEGORIES",
"code": "LIVE_BIRTH"
}
]
},
"type": {
"coding": [
{
"system": "COMPOSITION_TYPES",
"code": "NEWBORN"
}
]
},
"event": [
{
"code": {
"coding": [
{
"system": "COMPOSITION_EVENTS",
"code": "COMPOSITION_VALIDITY_PERIOD"
}
]
},
"period": {
"start": "2022-10-24T10:45:16Z",
"end": null
}
}
],
"subject": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "preperson"
}
],
"text": "string"
},
"value": "c7c41d7e-f0e5-4118-b5be-fedfb5a1e8ed"
},
"encounter": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "encounter"
}
],
"text": "string"
},
"value": "1846ea56-e8cb-435a-b15c-1b1700d014d2"
},
"author": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "employee"
}
],
"text": "string"
},
"value": "43cc2161-1c2b-481b-a618-77e35817f850"
},
"section": {
"focus": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "person"
}
],
"text": "string"
},
"value": "52b504c7-0177-4078-834b-52d89154081c"
}
},
"extension": [
{
"valueCode": "INFORM_WITH",
"valueUuid": "e7ff2eef-712f-4676-960d-6aa16dce2103"
},
{
"valueCode": "NEWBORN_BIRTH_DATE",
"valueDate": "2022-10-24"
},
{
"valueCode": "NEWBORN_SEX",
"valueString": "MALE"
}
]
}
ЕСОЗ - публічна документація