EHMI Addressing Service (EAS)
1.0.0 - release
EHMI Addressing Service (EAS), published by MedCom. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medcomdk/dk-ehmi-eas/ and changes regularly. See the Directory of published versions
This use case is virtually identical to the second part of use case 3. From a list in his/her local system, the user selects an organization, by id, and then calls EAS to retrieve the necessary message address metadata information for this. The sequence diagram for this is as follows:
Initially, when EAS receives this request, the given organization id is validated, after which relevant organization information associated with the organization id is obtained from SOR. With this and the type of message to be sent, the EHMI Endpoint Register (EER) is then called to obtain the GLN number and other relevant information, and finally the response is packed and sent back to the caller of EAS. The message type is, again, needed in the second call to EAS, such that EAS can return the correct response for the given message type – it could for example be that the system of the general practitioner does not support receiving the particular type of message.
This use case is conforming to this OperationDefinition:
**Be aware:** The exact name of this operation may differentiate, when it comes to the real world implementation,
but the intention is to implement a service that given the input parameters profile will produce the output parameters Profile.
Generated Narrative: OperationDefinition eas.SikrGrp1-getReceivingOrganizationBySORId
URL: [base]/$getReceivingOrganizationBySORID/EasCoreOrganization?identifer=[SOR-identifer]&MessageType=[MessageType]
Input parameters Profile:
http://medcomehmi.dk/ig/eas/StructureDefinition/EasCoreOrganization
Output parameters Profile:
http://medcomehmi.dk/ig/eas/StructureDefinition/EasMessagingOrganization
Should an error occur while validating the given organization id or obtaining the relevant or-ganization information associated with the organization id, an error response stating this is packed and returned to the caller of EAS as illustrated in the following diagram:
Correspondingly, should an error occur when calling EER to obtain the GLN number and other relevant information, an error response stating this is packed and returned to the caller of EAS as illustrated by: