/wiki/spaces/EN/pages/17591304241 (remove the link block before publishing the document)
...
Document type | Метод REST API |
---|---|
Document title | [DRAFT] [NEW] Generate Composition print form [API-007-011-001-0473] |
Guideline ID | GUI-0011 |
Author | @ |
Document version | 1 |
Document status | DRAFT |
Date of creation | ХХ.ХХ.ХХХХ (дата фінальної версії документа – RC або PROD) |
Date of update | ХХ.ХХ.ХХХХ (дата зміни версії) |
Method API ID | API-007-011-001-0473 |
Microservices (namespace) | ME |
Component | CompositionCompositions_ME |
Component ID | COM-007-011 |
Link на API-специфікацію | |
Resource | {{host}}//api.ehealth.gov.ua/api/patients/id/encounter_package |
Scope | |
Protocol type | REST |
Request type | |
Sync/Async | |
Public/Private |
...
MAN Request parameter | Source value |
---|---|
Сomposition | Select Composition from ME by id = composition_id from the request |
Composition.type | ME.composition.type (enrich with display value) |
Composition.category | ME.composition.category (enrich with display value) |
Composition.date | ME.composition.date (cast datetime to date only) |
Composition.title | ME.composition.title |
Composition.event | ME.composition.event[].code (enrich ME.composition.event[].code with display value) |
Composition.extension | ME.composition.extension (enrich composition.extension[].code, enrich composition.extension[].valueCodeableConcept.coding[].code with display value) |
Employee | Select Employee from PRM by id = composition.attester.[0].party.identifier.value |
Employee.position | PRM.employee.position (enrich with display value) |
Party | Select Party from PRM by id = Employee.party_id |
Party.last_name | PRM.party.last_name |
Party.first_name | PRM.party.first_name |
Party.second_name | PRM.party.second_name |
Legal_entity | Select Legal Entity from PRM by id = Composition.custodian.identifier.value |
Legal_entity.name | PRM.legal_entity.name |
Legal_entity.edrpou | PRM.legal_entity.edrpou |
Person | Select Person from MPI by id = patient_id from request |
Person.last_name | PRM.person.last_name |
Person.first_name | PRM.person.first_name |
Person.second_name | PRM.person.second_name |
Person.tax_id | PRM.person.tax_id |
Person.unzr | PRM.person.unzr |
Person.birth_date | PRM.person.birth_date |
...