Versions Compared

Key

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

...

Creating "a replacement" composition

Specification

Link

Link to SwaggerHub (2.39.2)

Resource

/patients/{patientId}/composition/{compositionId}/episode/{episodeId}/encounter/{encounterId}/integrationData

Scope

composition:read

Components

Compositions

Microservices

API paragraph not found

Protocol type

REST

Request type

GET

Sync/Async

Async

Public/Private/Internal

Public

Preconditions

  • The method can only be executed by a user with access to composition.

  • The method can only be executed for a composition with the status:

    • FINAL

    • AMENDED

    • ENTERED-_IN-_ERROR

Logic

  1. An authorized user with MIS creates and signs a composition, information from which can be used in a third-party registry.

  2. The signed composition is stored in the ESOZ.

  3. An authorized user can make a request and receive in response the status of processing in a third-party register.

...

  • EMAL_INTEGRATION_NEWBORN_CLIENTS_MEMBER_CODE_NAMES (Mapping request components by getComposition MVN (integration data))

Input parameters

Input parameter

Values

Type

Description

Example

compositionId

 

String($uuid) (path)

Composition object ID

 89678f60-4cdc-4fe3-ae83-e8b3ebd35c59

patientId

 

String($uuid) (path)

Patient object ID

89678f60-4cdc-4fe3-ae83-e8b3ebd35c59

episodeId

 

String($uuid) (path)

Episode of Care object ID

89678f60-4cdc-4fe3-ae83-e8b3ebd35c59

encounterId

 

String($uuid) (path)

Encounter object ID

89678f60-4cdc-4fe3-ae83-e8b3ebd35c59

Dictionaries

...

  • Creation of composition type “newborn“. Response with information on DIIA and DRACSG integration process:

Expand
titleResponse example
Code Block
[
  {
    "component": "MJU_DRACSDIIA",
    "details": {
      "personId": "fe88454e-7867-4795-8ab5-1fa54493a3d6",
    },
    "integrationStatus": "DONE",
    "taskStatus": "DONE",
    "type": "NEWBORN_POSTGET_COMPOSITION",
    "updatedAt": "2022-09-14T0814T07:3547:0300.383Z388Z"
  },
]
Code Block
[   {
    "component": "DIIAMJU_DRACS",
    "details": {
      "personId": "8cd52d25-1136-47ef-a0a7-efac9b941b67"
    },
    "integrationStatus": "DONE",
    "taskStatus": "DONE",
    "type": "NEWBORN_GETPOST_COMPOSITION",
    "updatedAt": "2022-09-14T0714T08:4735:0011.388Z330Z"
  },
]
  • Creation of composition type “newborn“. Response with information on DRACSG integration process:

Expand
titleResponse example
Code Block
[
  {
    "component": "MJU_DRACS",
    "details": {
      "personId": "8cd52d25fe88454e-11367867-47ef4795-a0a78ab5-efac9b941b671fa54493a3d6",
    },
    "integrationStatus": "DONE",
    "taskStatus": "DONE",
    "type": "NEWBORN_POST_COMPOSITION",
    "updatedAt": "2022-09-14T08:35:1103.330Z383Z"
  }
]
  • Cancellation of composition type “temp_disability“. Response with information on the ERLN integration process:

Expand
titleResponse example
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"
  }
]

HTTP status codes

HTTP status code

Message

What caused the error

 200

 Composition found

 If the request is completed and the information is found

 404

 Composition not found

 In case the information is not found for any reason