DK EHMI Endpoint Register (EER)
2.0.1-draft - ci-build Denmark flag

DK EHMI Endpoint Register (EER), published by MedCom. This guide is not an authorized publication; it is the continuous build for version 2.0.1-draft built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medcomdk/dk-ehmi-eer/ and changes regularly. See the Directory of published versions

StructureMap: MapEerSorEndpointToMessagingEndpoint

Official URL: http://medcomehmi.dk/ig/eer/StructureMap/MapEerSorEndpointToMessagingEndpoint Version: 2.0.1-draft
Active as of 2026-02-03 Computable Name: MapEerSorEndpointToMessagingEndpoint

map "http://medcomehmi.dk/ig/eer/StructureMap/MapEerSorEndpointToMessagingEndpoint" = "MapEerSorEndpointToMessagingEndpoint"

group MapEndpoint(source src : Endpoint, target tgt : Endpoint) <<types>> {
  src.identifier as sid -> tgt.identifier = create('Identifier') as tid then {
    sid.system as s -> tid.system = s;
    sid.value as v -> tid.value = v;
  } "copyIdentifier";
  src.status as s -> tgt.status = s "copyStatus";
  src.connectionType as sct -> tgt.connectionType = create('Coding') as tct then {
    sct.system as sys -> tct.system = sys;
    sct.code as c -> tct.code = c;
  } "copyConnectionType";
  src.period as sp -> tgt.period = create('Period') as tp then {
    sp.start as ss -> tp.start = ss;
    sp.end as se -> tp.end = se;
  } "copyPeriod";
  src.managingOrganization as smo -> tgt.managingOrganization = smo "copyManagingOrganization";
  src.payloadType as spt -> tgt.payloadType = create('CodeableConcept') as tpt then {
    spt.coding as sc -> tpt.coding = create('Coding') as tc then {
      sc.system as sys -> tc.system = sys;
      sc.code as cde -> tc.code = cde;
    } "copyCoding";
  } "copyPayloadType";
  src.payloadMimeType as pmt -> tgt.payloadMimeType = pmt "copyPayloadMimeType";
  src.address as a -> tgt.address = a "copyAddress";
}