Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published

Змінено параметр AUTHORIZE_WITH на INFORM_WITH

Створення МВТН категорії “SICKNESS”

Expand
titleЗапит на створення МВТН категорії “SICKNESS”
Code Block
{
    "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
        }
    ]
}
Expand
titleВідповідь на запит по створенню МВТН категорії "SICKNESS"
Code Block
{
  "data": {
    "eta": "2022-10-24T12:35:49.956Z",
    "id": "89678f60-4cdc-4fe3-ae83-e8b3ebd35c59",
    "links": [
      {
        "entity": "eHealth/resources"
      }
    ],
    "status": "PENDING"
  }
}

Створення МВН категорії “LIVE_BIRTH”

Expand
titleЗапит на створення МВН категорії “LIVE_BIRTH”
Code Block
{
    "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"
        }
    ]
}
Expand
titleВідповідь на запит по створенню МВН категорії "LIVE_BIRTH"
Code Block
{
  "data": {
    "eta": "2022-10-24T12:53:16.146Z",
    "id": "02230161-a02d-4a93-bf09-199870623aa7",
    "links": [
      {
        "entity": "eHealth/resources"
      }
    ],
    "status": "PENDING"
  }
}