DK EHMI Endpoint Register (EER)
3.0.0-trial-use-1 - release Denmark flag

This page is part of the DK EHMI Endpoint Register (EER) (v3.0.0-trial-use-1: Release 3.x.x) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

StructureMap: MapEerSorEndpointToMessagingEndpoint

Official URL: http://medcomehmi.dk/ig/eer/StructureMap/MapEerSorEndpointToMessagingEndpoint Version: 3.0.0-trial-use-1
Active as of 2026-07-23 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";
}