FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagemedcom.fhir.dk.messaging
Resource TypeStructureDefinition
IdStructureDefinition-medcom-messaging-destinationUseExtension.json
FHIR VersionR4
Sourcehttp://medcomfhir.dk/ig/messaging/2.0.1/StructureDefinition-medcom-messaging-destinationUseExtension.html
URLhttp://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension
Version2.0.1
Statusactive
Date2025-11-24T13:37:00+00:00
NameMedComMessagingDestinationUseExtension
TitleMedComDestinationUseExtension
Realmdk
DescriptionIndicates whether the use of a destination in a MedCom message header is as a primary or a carbon copy recipient of the message
TypeExtension
Kindcomplex-type

Resources that use this resource

StructureDefinition
medcom-messaging-messageHeaderMedComMessagingMessageHeader

Resources that this resource uses

No resources found


Examples of Use for Extension

ResourceVersion
dk-ehmi-sbdh#current:Bundle/401cbc36-db1e-4fe0-bf90-6df331dde179R4
dk-ehmi-sbdh#current:Bundle/9597e34d-f90f-439d-bc79-ca7d91944d8bR4
medcom.fhir.dk.acknowledgement#2.0.2:Bundle/a8c041b8-c65a-4fde-a90f-962076918834R4
medcom.fhir.dk.acknowledgement#2.0.2:Bundle/bc9535ef-ed94-4060-a928-7baddec7ee71R4
medcom.fhir.dk.acknowledgement#2.0.2:Bundle/c9c2b2f6-0807-11ed-861d-0242ac120002R4
medcom.fhir.dk.acknowledgement#2.0.2:Bundle/eb26be85-fdb7-454d-a980-95cba6d1745bR4
medcom.fhir.dk.acknowledgement#2.0.2:MessageHeader/3881874e-2042-4a00-aee8-23512799f512R4
medcom.fhir.dk.acknowledgement#2.0.2:MessageHeader/42cb9200-f421-4d08-8391-7d51a2503cb4R4
medcom.fhir.dk.acknowledgement#2.0.2:MessageHeader/aba2d9bf-2c6c-47e8-bce4-7928bcd51019R4
medcom.fhir.dk.acknowledgement#2.0.2:MessageHeader/b879c81e-0607-4ccb-b358-24a72208e30dR4
medcom.fhir.dk.acknowledgement#2.0.2:MessageHeader/c9a0b728-0807-11ed-861d-0242ac120002R4
medcom.fhir.dk.carecommunication#current:Bundle/0d5b3c18-fab6-4d93-9d88-c9c8abf1f18cR4
medcom.fhir.dk.carecommunication#current:Bundle/3dcb5618-3055-406a-9034-1b8fc8de0feaR4
medcom.fhir.dk.carecommunication#current:Bundle/add5e7e2-0c0f-4a4a-bfff-f6f984fa7e3cR4
medcom.fhir.dk.carecommunication#current:Bundle/b56549f7-ed10-422d-8088-f7222b686e46R4
medcom.fhir.dk.carecommunication#current:Bundle/c0426e3e-978f-46e8-a366-a30f27854b0aR4
medcom.fhir.dk.carecommunication#current:Bundle/d11968f5-4bdf-4b50-b146-a8e1cc890fc3R4
medcom.fhir.dk.carecommunication#current:Bundle/gfd00bc2-9c26-4174-934e-f6e4360845deR4
medcom.fhir.dk.carecommunication#current:Bundle/k7bfbc0c-553d-11ed-bdc3-0242ac120002R4
medcom.fhir.dk.carecommunication#current:MessageHeader/025bdfdd-397b-43e2-9e8c-272664a6e471R4
medcom.fhir.dk.carecommunication#current:MessageHeader/2654e182-cfee-4537-b744-e36231ebe2f3R4
medcom.fhir.dk.carecommunication#current:MessageHeader/3076d9b0-5521-11ed-bdc3-0242ac120002R4
medcom.fhir.dk.carecommunication#current:MessageHeader/375293b8-2f91-4d08-b13a-83ea76b6d001R4
medcom.fhir.dk.carecommunication#current:MessageHeader/42cb9200-f421-4d08-8391-7d51a2503cb4R4
medcom.fhir.dk.carecommunication#current:MessageHeader/4dff3695-218d-4878-838a-5f23cbba6f82R4
medcom.fhir.dk.carecommunication#current:MessageHeader/aac67161-d0de-4933-a78c-060beafb4814R4
medcom.fhir.dk.carecommunication#current:MessageHeader/d5bd2111-2576-48d3-84d4-8be0297a038dR4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-A-new-b10f940e-2000-4ec8-9e0b-a3fb60fc5bb5R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-B-reply-91b4b79a-520f-48cb-bb9a-9c3e27301968R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-C-forward-8352b67a-23b2-44c5-b43a-725270a90722R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-A-0c8dddf2-c882-4b00-8870-5035279e7d01R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-B-82875f08-4b9e-4a23-b81a-e23ec1251334R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-C-5d29cc7d-dcf7-4b50-81b1-a8d971973ff6R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-CPR-1-06326cfc-5cfc-4bb1-bcd0-c49b8f8033e6R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-CPR-2-e678c36a-0e2e-4831-a739-3cfc1225691dR4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-CPR-3-4d9d90c5-5647-4b4a-8c61-770bc5c3e092R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-D-68f5c0f8-e33e-4302-89b0-cdea52801ec9R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-E-new-parallel-c1edf6f3-2554-4b72-b58b-0f030ee555baR4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-F-new-parallel-0e2864ad-a6a1-4e84-a9dc-aeacee63f981R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-G-20fcbedb-ced8-4949-9edf-a145e0bb9b09R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-H-3e047a9d-c86a-4828-b686-6a80403df5ebR4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-I-reply-order-7c5a0cc0-f0f8-4a2e-9de9-d9293598bf94R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-J-dublicate-7283eae8-0427-4bb0-8486-06b4febd416cR4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-K-dublicate-5de12884-eae7-4fd3-ba4a-d8b56be4baffR4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-L-dublicate-fa97e431-332f-4605-ad37-c259dc2b8637R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-M-dublicate-inv-260a3cc1-38eb-454a-a57b-9e32eabb54a3R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-N-dublicate-inv-260f76f2-d986-4ba1-8049-2369b1b164ceR4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/R-Tek-O-invalid-3d1149cd-d3e3-421a-ae31-4860decb4272R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/S-A-new-1932711d-49d0-4ad7-b1ee-61de711892d2R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/S-B-new-720f68cf-21bf-4c40-a90c-a113e00e88a8R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/S-C-new-aca3d03a-febd-4b88-ad53-ac1bc36da615R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/S-D-new-1e9fdc8f-50f0-4dc3-9879-facdf331a2feR4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/S-E-forward-77c771ca-05d6-4efb-9a74-2fc513787f3aR4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/S-Tek-A-new-episodeOfCare-b43146a2-99ec-4b05-bb8f-5b44af4fe424R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/S-Tek-B-new-episodeOfCare-98eb081e-a66f-41a2-b2f7-c455782563b0R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/S-Tek-C-new-7be9d2ba-6026-4f19-850c-896de206f2c2R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/S-Tek-CPR-1-17189afd-5946-4d9e-8dd7-3de5eaf1a5d4R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/S-Tek-CPR-2-7e1a1611-b69b-4538-bbc3-03e13b67b517R4
medcom.fhir.dk.carecommunicationtestscripts#current:Bundle/S-Tek-CPR-3-77ff05d0-9eca-4a59-b436-fe1b97673817R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/0ebb6284-eb20-45eb-8113-6620d2d08608R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/221b6439-c282-4bf9-9ddc-8c2b8975e809R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/2414b445-665f-41af-9ecd-b97c0b58c081R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/2dd1d41f-4fc5-40e7-8fd6-850bbc3cc22cR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/3480293d-1e3b-4132-ac19-ee3b9a0bd19bR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/3dbffafe-ce3c-45b0-bca7-2c008c478e79R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/42fa2844-5020-45dd-bd5f-77137ba5ca1fR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/4e60a233-2980-4d0f-9d7b-e38853be77abR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/53f20992-c926-466a-b5f5-ac6f80fc88d6R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/559e4be0-e1f2-4371-969d-29bbbd5ca9d1R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/5a663fe8-c361-411d-876d-4f6b06749e59R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/5c2cdf2c-bcbd-4c15-adce-6b862a84249cR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/6550cb10-06e1-44fa-a66d-72f3f60c7c55R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/73893146-ff6f-4455-99c3-9126c74d16a2R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/7784a5ff-0293-4a54-aaf1-974714807fb3R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/7969a2b7-3ff4-4802-9246-8ed74102ed73R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/7ed8da8d-fd74-4948-bc92-924842b30adfR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/855bee22-ca86-4ac4-99f9-7981aeced68bR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/8daf0286-2477-4766-8ed2-cc76970e44b1R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/8f537c84-17f9-4fd1-a3d6-3d4008d6c6ecR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/9db30fd5-f443-4c7f-8e1a-e8da7e758f0aR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/a07d8566-961a-47e1-80b9-cc9b2d2e16cbR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/cecb42e9-4909-4287-a66e-992f6bd1b17fR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/d2b81c34-ec5d-4c5f-9380-1b5aa507544bR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/ea9d2910-fe51-416f-bd92-3e8a23c22c59R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/ejklfdsio8klakfd.hjfkdshfjk-hfjkdshfj89432n7fR4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/f7f519bd-a104-43fb-ab8a-058eeaec68c7R4
medcom.fhir.dk.carecommunicationtestscripts#current:MessageHeader/f927c454-ef3e-4f60-9640-6727961d6a1fR4
medcom.fhir.dk.homecareobservation#current:Bundle/401cbc36-db1e-4fe0-bf90-6df331dde179R4
medcom.fhir.dk.homecareobservation#current:Bundle/5f341feb-9a20-463a-96cc-a9ca8ace5567R4
medcom.fhir.dk.homecareobservation#current:Bundle/73996cdc-3192-4d15-bd16-c365ef0085e7R4
medcom.fhir.dk.homecareobservation#current:Bundle/ReceiveTestExample1R4
medcom.fhir.dk.homecareobservation#current:Bundle/ReceiveTestExample2R4
medcom.fhir.dk.homecareobservation#current:Bundle/ReceiveTestExample3R4
medcom.fhir.dk.homecareobservation#current:Bundle/ReceiveTestExample4R4
medcom.fhir.dk.homecareobservation#current:Bundle/add5e7e2-0c0f-4a4a-bfff-f6f984fa7e3cR4
medcom.fhir.dk.homecareobservation#current:Bundle/faa0c104-0ebf-49cb-bad1-9e0f59436e18R4
medcom.fhir.dk.homecareobservation#current:MessageHeader/07eb074b-be00-47e5-8bcb-484990a1a97eR4
medcom.fhir.dk.homecareobservation#current:MessageHeader/36cb86f1-a01a-4115-a84d-9390aa0ddcbdR4
medcom.fhir.dk.homecareobservation#current:MessageHeader/489de4f2-0d8d-4de2-a7ce-ccb93568799fR4
medcom.fhir.dk.homecareobservation#current:MessageHeader/8dbf63f4-b784-4d40-8802-c1bdb1ecfa63R4
medcom.fhir.dk.homecareobservation#current:MessageHeader/e9f4cc68-b1b7-46b2-ba74-7cc39a914bfaR4
medcom.fhir.dk.homecareobservationtestscripts#current:Bundle/3.4.1-TemporaryCPRAndNoCommentsR4
medcom.fhir.dk.homecareobservationtestscripts#current:Bundle/3.4.5-BigExampleWithFilesCommentsAndMultipleObservationsR4
medcom.fhir.dk.homecareobservationtestscripts#current:Bundle/R1-3.3.1.1-BasicR4
medcom.fhir.dk.homecareobservationtestscripts#current:Bundle/R1-3.3.2.1-BasicWithFileAndCommentsR4
medcom.fhir.dk.homecareobservationtestscripts#current:Bundle/R1-3.3.2.4-BasicWithAttachedFileAndNoCommentsR4
medcom.fhir.dk.homecareobservationtestscripts#current:Bundle/R1A1-3.3.3.1-RefusedConsentToShareResultsNoCommentsR4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/a5e5b880-c087-4055-b9ec-99108695f81dR4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/bfab3e80-9584-11ec-b909-0242ac120002R4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/c83671a4-9584-11ec-b909-0242ac120002R4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/d3128d9b-cede-4c7f-8904-809eab322d7dR4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/e94de8ee-bd94-475e-b454-b8fbbef8a685R4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/f4aa42a4-86db-4e68-9b38-9dda0dfd5774R4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/g099bbf3-3fca-4722-a248-bfe1aa956410R4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/h1c8e4a8-6b45-4669-94ad-2a99ad96bf03R4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/kcab461b-f44e-4d97-a041-ef7e64800587R4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/ld31e08a-b91f-49c3-841a-ce80e6380517R4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/m908i967-9ie3-9023-b9ec-98108695f01dR4
medcom.fhir.dk.hospitalnotification#3.0.1:Bundle/n73ccf30-80b9-4bd2-bf50-1ac1914498f0R4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/1ca19ddf-31bc-4597-8739-968c38dd88f8R4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/a1b27813-8aa8-4fa1-846b-aeabf5afb7d4R4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/b9b4818e-02de-4cc4-b418-d20cbc7b5404R4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/cc47c1e2-78e6-4291-b071-f423a4f7fbfeR4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/d8749b54-1aeb-4089-8941-8d876bdffc51R4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/e563a2b2-bf92-4b13-bbd2-0a021a95bdedR4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/f47254da-f170-46f0-b624-4778a9c92b1fR4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/g1affa53-c157-4080-abb0-8e681524f969R4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/hefc6d95-6161-4493-99c9-f359488dedb8R4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/i50fc5fe-2d11-4ef3-acac-2e2e5c6c0029R4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/j3675c4a-33db-40f1-b578-ff16e3e9134cR4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/m9bea09c-e662-4d59-b84f-9af570b57f42R4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/nabb68aa-c97b-4905-a60c-71ff3209fd51R4
medcom.fhir.dk.hospitalnotification#3.0.1:MessageHeader/o9b4818e-12de-5cc4-c418-d30cbc7b5404R4
medcom.fhir.dk.messaging#2.0.1:Bundle/eb26be85-fdb7-454d-a980-95cba6d1745bR4
medcom.fhir.dk.messaging#2.0.1:MessageHeader/3881874e-2042-4a00-aee8-23512799f512R4
medcom.fhir.dk.messaging#2.0.1:MessageHeader/42c01434-8feb-11ec-b909-0242ac120002R4
medcom.fhir.dk.messaging#2.0.1:MessageHeader/cb0b2ef0-8feb-11ec-b909-0242ac120002R4
medcom.fhir.dk.messaging#2.0.1:MessageHeader/d28b9cb4-8feb-11ec-b909-0242ac120002R4

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition medcom-messaging-destinationUseExtension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionMedComDestinationUseExtension
... extension 0..0
... url 1..1uri"http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension"
... value[x] 1..1CodingValue of extension
.... system 0..1uriIdentity of the terminology system
Required Pattern: http://medcomfhir.dk/fhir/dk-medcom-terminology/CodeSystem/medcom-messaging-destinationUse

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "medcom-messaging-destinationUseExtension",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension",
  "version": "2.0.1",
  "name": "MedComMessagingDestinationUseExtension",
  "title": "MedComDestinationUseExtension",
  "status": "active",
  "date": "2025-11-24T13:37:00+00:00",
  "publisher": "MedCom",
  "contact": [
    {
      "name": "MedCom",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.medcom.dk"
        }
      ]
    }
  ],
  "description": "Indicates whether the use of a destination in a MedCom message header is as a primary or a carbon copy recipient of the message",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "DK",
          "display": "Denmark"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Element"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "MedComDestinationUseExtension",
        "definition": "Indicates whether the use of a destination in a MedCom message header is as a primary or a carbon copy recipient of the message",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Extension.id",
        "path": "Extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "uri"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "fixedUri": "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension",
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Value of extension",
        "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x].id",
        "path": "Extension.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.value[x].extension",
        "path": "Extension.value[x].extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.value[x].system",
        "path": "Extension.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "patternUri": "http://medcomfhir.dk/fhir/dk-medcom-terminology/CodeSystem/medcom-messaging-destinationUse",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "Extension.value[x].version",
        "path": "Extension.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "Extension.value[x].code",
        "path": "Extension.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "Extension.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Extension.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "Extension.value[x].userSelected",
        "path": "Extension.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "MedComDestinationUseExtension",
        "definition": "Indicates whether the use of a destination in a MedCom message header is as a primary or a carbon copy recipient of the message"
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "Extension.value[x].system",
        "path": "Extension.value[x].system",
        "patternUri": "http://medcomfhir.dk/fhir/dk-medcom-terminology/CodeSystem/medcom-messaging-destinationUse"
      }
    ]
  }
}