Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Створення МВТН

...

категорії “SICKNESS”

Expand
titleЗапит на створення МВТН категорії “SICKNESS”
Code Block
{
    "
author
category": {
        "
type
coding": 
{
[
        
"coding":
 
[
   {
     
{
           "
code
system": "
employee
COMPOSITION_CATEGORIES",
                "
system
code": "
eHealth/resources"
SICKNESS"
            }
        ]
    },
    "
value
type": 
"8862183e-41b6-87d6-ХХХХ-40b87ec3c186"
{
   
},
     "
category
coding": 
{
[
    
"coding":
 
[
       {
                "
code
system": "
SICKNESS
COMPOSITION_TYPES",
         
"system
       "code": "
eHealth/composition
TEMP_
categories
DISABILITY"
      
}
     
]
 }
 
},
   
"custodian":
 
{
   ]
 
"type":
 
{
  },
    "
coding
event": [
        {
            "code": 
"legal_entity",
{
          
"system
      "coding": 
"eHealth/resources"
[
        
}
       
]
     
},
{
    
"value": "0dccb76f-3ed0-40f4-ХХХХ-e95e2f91ea29"
   
},
   
"encounter":
 
{
     
"type":
 
{
       "
coding
system":
[
 "COMPOSITION_EVENTS",
             
{
           "code": "
encounter",
COMPOSITION_VALIDITY_PERIOD"
            
"system": "eHealth/resources"
        }
     
}
       
]
    ]
},
     
"value":
 
"b0a14da9-6bf1-a830-ХХХХ-f25b2fbfa5f5"
   
},
   
"event": [
},
     
{
       "
code
period": {
         
"coding":
 
[
      "start": "2022-10-24T10:45:16Z",
   
{
             "
code
end": "
COMPOSITION_VALIDITY_PERIOD",
2022-10-28T10:45:16Z"
            
"system": "eHealth/composition_events"
}
        }
    ],
   
]
 "subject": {
    
},
    
"
period
type": {
            "
end
coding":
"2021-08-29T20:59:00Z",
 [
            
"start": "2021-08-18T16:40:00Z"
    {
         
}
     
}
   
],
   "
extension
system": "eHealth/resources",
[
     
{
       
"valueCode":
 
"AUTHORIZE_WITH",
       "
valueUuid
code": "
517b3b67-6943-4948-908f-4aa22c005cf8"
person"
      
},
     
{
     }
 
"valueBoolean": false,
         
"valueCode": "IS_FOREIGN_TREATMENT"
  ],
         
},
   "text": "string"
{
       
"valueBoolean":
 
false
},
        "
valueCode
value": "
IS_FORCE_RENEW
52b504c7-0177-4078-834b-52d89154081c"
    },
    "encounter": {
        "
valueBoolean
type": 
false,
{
      
"valueCode":
 
"IS_ACCIDENT"
     
},
"coding": [
   
{
        
"valueBoolean":
 
false,
    {
  
"valueCode":
 
"IS_INTOXICATED"
     
}
   
],
   
"identifier":
 
{
     "
type
system":
{
 
"
coding
eHealth/resources"
:
,
[
         
{
           "code": "
composition
encounter"
,

            
"system":
 
"eHealth/composition"
   }
     
}
       ],
    
},
        "
value
text": "
7c1c6533-fce6-b365-ХХХХ-4ac0dd05c65a
string"
        },
        "value": "e39ee5ae-2644-4f04-8e64-bb359866e907"
    },
    "
subject
author": {
        "type": {
            "coding": [
          
{
      {
        
"code":
 
"person",
           "system": "eHealth/resources",
        
}
       
]
     
}, "value
"code": "
df020b1e-2970-40df-ХХХХ-b48880327ba3
employee"
  
}, "section":
 
{
     
"focus":
 
{
       
"type":
}
{
         
"coding":
 
[
  ],
        
{
    "text": "string"
       
"code": "person",
 },
        
"
system
value": "
eHealth/resources
43cc2161-1c2b-481b-a618-77e35817f850"
    },
    "section": 
}
{
        
]
"focus": {
     
},
       "
value
type": 
"df020b1e-2970-40df-ХХХХ-b48880327ba3"
{
   
} },
   
"status":
 
"NEW",
   
"type":
 
{
     "coding": [
      
{
          
"code":
 
"TEMP_DISABILITY",
   {
                        "system": "eHealth/
composition_types"
resources",
                        "code": "person"
            
}
     
]
   }
                ],
                "text": "string"
            },
            "value": "52b504c7-0177-4078-834b-52d89154081c"
        }
    },
    "extension": [
        {
            "valueCode": "AUTHORIZE_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": "AUTHORIZE_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"
  }
}

Отримання деталей МВТН категорії “COVID19”

Expand
titleВідповідь на запит по отриманню деталей МВТН категорії “COVID19”
Code Block
{
  "author": {
    "type": {
      "coding": [
        {
          "code": "employee",
          "system": "eHealth/resources"
        }
      ],
      "text": "string"
    },
    "value": "43cc2161-1c2b-481b-a618-77e35817f850"
  },
  "category": {
    "coding": [
      {
        "code": "COVID19",
        "system": "COMPOSITION_CATEGORIES"
      }
    ]
  },
  "custodian": {
    "type": {
      "coding": [
        {
          "code": "legal_entity",
          "system": "eHealth/resources"
        }
      ]
    },
    "value": "0dccb76f-3ed0-40f4-8f73-e95e2f91ea29"
  },
  "date": "2022-10-05T08:22:05.999Z",
  "encounter": {
    "type": {
      "coding": [
        {
          "code": "encounter",
          "system": "eHealth/resources"
        }
      ],
      "text": "string"
    },
    "value": "35125120-371c-4c00-96ad-9fba6cf19444"
  },
  "event": [
    {
      "code": {
        "coding": [
          {
            "code": "COMPOSITION_VALIDITY_PERIOD",
            "system": "COMPOSITION_EVENTS"
          }
        ]
      },
      "period": {
        "end": "2022-10-20T10:45:16Z",
        "start": "2022-10-04T10:45:16Z"
      }
    }
  ],
  "extension": [],
  "identifier": {
    "type": {
      "coding": [
        {
          "code": "composition",
          "system": "eHealth/resources"
        }
      ]
    },
    "value": "769851be-8712-47a8-a32a-66a610fb4588"
  },
  "relatesTo": [
    {
      "code": "appends",
      "targetIdentifier": {
        "type": {
          "coding": [
            {
              "code": "composition",
              "system": "eHealth/resources"
            }
          ]
        },
        "value": "15f892b1-a129-4364-826b-9322900ac415"
      }
    }
  ],
  "section": {
    "focus": {
      "type": {
        "coding": [
          {
            "code": "person",
            "system": "eHealth/resources"
          }
        ],
        "text": "string"
      },
      "value": "caada087-f725-4481-8ae4-6c1b642e4fbb"
    },
    "text": {
      "div": "",
      "status": "empty"
    }
  },
  "status": "PRELIMINARY",
  "subject": {
    "type": {
      "coding": [
        {
          "code": "person",
          "system": "eHealth/resources"
        }
      ],
      "text": "string"
    },
    "value": "caada087-f725-4481-8ae4-6c1b642e4fbb"
  },
  "title": "MM67-PC74-AHEE-MC76",
  "type": {
    "coding": [
      {
        "code": "TEMP_DISABILITY",
        "system": "COMPOSITION_TYPES"
      }
    ]
  }
}

Пошук медичних висновків

Expand
titleВідповідь на запит по пошуку МВ по пацієнту та статусу МВ "ENTERED-IN-ERROR"
Code Block
[
  {
    "date": "2022-10-11T10:10:05.357Z",
    "encounter": {
      "type": {
        "coding": [
          {
            "code": "encounter",
            "system": "eHealth/resources"
          }
        ],
        "text": "string"
      },
      "value": "2d551dfd-28bd-4daa-bd1c-cc131041bc24"
    },
    "episodeOfCare": {
      "type": {
        "coding": [
          {
            "code": "episode",
            "system": "eHealth/resources"
          }
        ]
      },
      "value": "ac687cf0-465b-4ded-ac79-dfc160a93c80"
    },
    "identifier": {
      "type": {
        "coding": [
          {
            "code": "composition",
            "system": "eHealth/resources"
          }
        ]
      },
      "value": "6114d2c0-0047-4825-bf40-4dc036e21e58"
    },
    "status": "ENTERED-IN-ERROR",
    "title": "8762-4X97-TMTE-A8CE",
    "type": {
      "coding": [
        {
          "code": "TEMP_DISABILITY",
          "system": "COMPOSITION_TYPES"
        }
      ]
    }
  },
  {
    "date": "2022-09-29T09:46:28.728Z",
    "encounter": {
      "type": {
        "coding": [
          {
            "code": "encounter",
            "system": "eHealth/resources"
          }
        ],
        "text": "string"
      },
      "value": "3673b16c-d3f0-4076-bbc5-90969ee9ea2d"
    },
    "episodeOfCare": {
      "type": {
        "coding": [
          {
            "code": "episode",
            "system": "eHealth/resources"
          }
        ]
      },
      "value": "ab7b0bdf-c77a-4afb-8454-13f692142fa4"
    },
    "identifier": {
      "type": {
        "coding": [
          {
            "code": "composition",
            "system": "eHealth/resources"
          }
        ]
      },
      "value": "8ce96df6-f232-4389-b67c-8a93d31f7521"
    },
    "status": "ENTERED-IN-ERROR",
    "title": "7KAE-8T97-H2B4-C284",
    "type": {
      "coding": [
        {
          "code": "TEMP_DISABILITY",
          "system": "COMPOSITION_TYPES"
        }
      ]
    }
  },
  {
    "date": "2022-09-28T12:35:38.208Z",
    "encounter": {
      "type": {
        "coding": [
          {
            "code": "encounter",
            "system": "eHealth/resources"
          }
        ],
        "text": "string"
      },
      "value": "3673b16c-d3f0-4076-bbc5-90969ee9ea2d"
    },
    "episodeOfCare": {
      "type": {
        "coding": [
          {
            "code": "episode",
            "system": "eHealth/resources"
          }
        ]
      },
      "value": "ab7b0bdf-c77a-4afb-8454-13f692142fa4"
    },
    "identifier": {
      "type": {
        "coding": [
          {
            "code": "composition",
            "system": "eHealth/resources"
          }
        ]
      },
      "value": "448e101b-dffd-41e9-965f-e1f51bba1e4a"
    },
    "status": "ENTERED-IN-ERROR",
    "title": "KEKT-3497-TC9H-PPE8",
    "type": {
      "coding": [
        {
          "code": "TEMP_DISABILITY",
          "system": "COMPOSITION_TYPES"
        }
      ]
    }
  }
]

Підписання медичного висновку

Expand
titleВідповідь на запит по підписанню МВ
Code Block
{
  "data": {
    "eta": "2022-10-14T11:26:04.574Z",
    "id": "3c5cd759-9dba-418b-86f8-7721e09c3af9",
    "links": [
      {
        "entity": "eHealth/resources",
        "href": "composition/bb55c87a-65c5-4225-9f8b-d767b6d2cb9d"
      }
    ],
    "status": "PENDING"
  }
}

Скасування медичного висновку

Expand
titleВідповідь на запит по скасуванню МВ
Code Block
{
  "data": {
    "eta": "2022-10-24T13:14:01.656Z",
    "id": "89edcfb2-3479-4565-885b-d0ce7f9d081e",
    "links": [
      {
        "entity": "eHealth/resources",
        "href": "composition/1aecb5c4-60c8-4773-900a-64d01b382ce9"
      }
    ],
    "status": "PENDING"
  }
}

Отримання інформації про інтеграційні процеси по медичному висновку

Expand
titleВідповідь з інформацією по інтеграційному процесу з ДРАЦСГ по МВН
Code Block
[
  {
    "component": "MJU_DRACS",
    "details": {
      "personId": "fe88454e-7867-4795-8ab5-1fa54493a3d6",
    },
    "integrationStatus": "DONE",
    "taskStatus": "DONE",
    "type": "NEWBORN_POST_COMPOSITION",
    "updatedAt": "2022-09-14T08:35:03.383Z"
  }
]
Expand
titleВідповідь на запит по отриманню інформації про інтеграційні процеси з ЕРЛН при створенні МВТН
Code Block
[
 {
    "component": "ERLN",
    "details": {
      "SL_NUM": "517-2000002845-1",
      "SL_REG_DATETIME": "2022-09-21T10:17:51Z",
      "SL_STOP": "2022-09-29T00:00:00Z",
      "SL_START": "2022-09-19T00:00:00Z",
      "IC_NUM": "517"
    },
    "integrationStatus": "DONE",
    "statusCode": 1101,
    "statusMessage": "ЕЛН створено успішно",
    "taskStatus": "DONE",
    "type": "CREATE_ERLN_RECORD",
    "updatedAt": "2022-09-21T07:18:48.274Z"
  }
]
Expand
titleВідповідь на запит по отриманню інформації про інтеграційні процеси з ЕРЛН при скасуванні МВТН
Code Block
[
  {
    "component": "ERLN",
    "details": {
      "SL_NUM": "520-2000002848-1",
      "SL_REG_DATETIME": "2022-09-22T12:36:08Z",
      "SL_STOP": "2022-09-30T00:00:00Z",
      "SL_START": "2022-09-20T00:00:00Z",
      "IC_NUM": "520"
    },
    "integrationStatus": "DONE",
    "statusCode": 1101,
    "statusMessage": "ЕЛН створено успішно",
    "taskStatus": "DONE",
    "type": "CREATE_ERLN_RECORD",
    "updatedAt": "2022-09-22T09:37:07.290Z"
  },
  {
    "component": "ERLN",
    "details": {
      "SL_NUM": "520-2000002848-2",
      "SL_REG_DATETIME": "2022-09-22T12:36:08Z",
      "IC_NUM": "520"
    },
    "integrationStatus": "DONE",
    "statusCode": 5101,
    "taskStatus": "DONE",
    "type": "CANCEL_ERLN_RECORD",
    "updatedAt": "2022-09-22T09:39:33.749Z"
  }
]