Acknowledgement Test scripts
2.0.0 - release

This page is part of the DK MedCom Acknowledgement TestScripts (v2.0.0: Release) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: b3c91031-85e6-4793-bca5-7b0de166fbf2 - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "b3c91031-85e6-4793-bca5-7b0de166fbf2",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2023-05-24T06:29:33.410-04:00",
    "profile" : [
      "http://medcomfhir.dk/ig/acknowledgement/StructureDefinition/medcom-messaging-acknowledgement"
    ]
  },
  "type" : "message",
  "timestamp" : "2023-03-01T12:00:03+01:00",
  "entry" : [
    {
      "fullUrl" : "MessageHeader/c2f61230-8e53-4658-a027-5a9dc422ab39",
      "resource" : {
        "resourceType" : "MessageHeader",
        "id" : "c2f61230-8e53-4658-a027-5a9dc422ab39",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/acknowledgement/StructureDefinition/medcom-messaging-acknowledgementHeader"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns='http://www.w3.org/1999/xhtml'>\n  <p>\n    <b>Generated Narrative: MessageHeader</b>\n    <a name='c2f61230-8e53-4658-a027-5a9dc422ab39'/>\n  </p>\n  <div style='display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%'>\n    <p style='margin-bottom: 0px'>Resource MessageHeader \"c2f61230-8e53-4658-a027-5a9dc422ab39\"</p>\n    <p style='margin-bottom: 0px'>Profile:<a href='StructureDefinition-medcom-messaging-acknowledgementHeader.html'>MedComAcknowledgementMessageHeader</a>\n    </p>\n  </div>\n  <p>\n    <b>event</b>: Acknowledgement Message (Details: http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-eventCodes code acknowledgement-message = &apos;Acknowledgement Message&apos;, stated as &apos;null&apos;)</p>\n  <h3>Destinations</h3>\n  <table class='grid'>\n    <tr>\n      <td>-</td>\n      <td>\n        <b>Extension</b>\n      </td>\n      <td>\n        <b>Endpoint</b>\n      </td>\n      <td>\n        <b>Receiver</b>\n      </td>\n    </tr>\n    <tr>\n      <td>*</td>\n      <td/>\n      <td>\n        <a href='https://sor2.sum.dsdn.dk/#id=265161000016000'>https://sor2.sum.dsdn.dk/#id=265161000016000</a>\n      </td>\n      <td>\n        <a href='#Organization_f372cc9e-3e93-4d56-b5a1-c0c54a013fe8'>See above (Organization/f372cc9e-3e93-4d56-b5a1-c0c54a013fe8)</a>\n      </td>\n    </tr>\n  </table>\n  <p>\n    <b>sender</b>:<a href='#Organization_34155e86-da33-4cc8-b749-46ed08454869'>See above (Organization/34155e86-da33-4cc8-b749-46ed08454869)</a>\n  </p>\n  <h3>Sources</h3>\n  <table class='grid'>\n    <tr>\n      <td>-</td>\n      <td>\n        <b>Endpoint</b>\n      </td>\n    </tr>\n    <tr>\n      <td>*</td>\n      <td>\n        <a href='https://sor2.sum.dsdn.dk/#id=953741000016009'>https://sor2.sum.dsdn.dk/#id=953741000016009</a>\n      </td>\n    </tr>\n  </table>\n  <h3>Responses</h3>\n  <table class='grid'>\n    <tr>\n      <td>-</td>\n      <td>\n        <b>Identifier</b>\n      </td>\n      <td>\n        <b>Code</b>\n      </td>\n    </tr>\n    <tr>\n      <td>*</td>\n      <td>42cb9200-f421-4d08-8391-7d51a2503cb4</td>\n      <td>ok</td>\n    </tr>\n  </table>\n</div>"
        },
        "eventCoding" : {
          "system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-eventCodes",
          "code" : "acknowledgement-message"
        },
        "destination" : [
          {
            "extension" : [
              {
                "url" : "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension",
                "valueCoding" : {
                  "system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-destinationUse",
                  "code" : "primary"
                }
              }
            ],
            "endpoint" : "https://sor2.sum.dsdn.dk/#id=953741000016009",
            "receiver" : {
              "reference" : "Organization/f372cc9e-3e93-4d56-b5a1-c0c54a013fe8"
            }
          }
        ],
        "sender" : {
          "reference" : "Organization/34155e86-da33-4cc8-b749-46ed08454869"
        },
        "source" : {
          "endpoint" : "https://sor2.sum.dsdn.dk/#id=265161000016000"
        },
        "response" : {
          "identifier" : "42cb9200-f421-4d08-8391-7d51a2503cb4",
          "code" : "ok"
        }
      }
    },
    {
      "fullUrl" : "Provenance/5308e69c-0494-47d6-ae70-6aefc7c116ea",
      "resource" : {
        "resourceType" : "Provenance",
        "id" : "5308e69c-0494-47d6-ae70-6aefc7c116ea",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns='http://www.w3.org/1999/xhtml'>\n  <p>\n    <b>Generated Narrative: Provenance</b>\n    <a name='5308e69c-0494-47d6-ae70-6aefc7c116ea'/>\n  </p>\n  <div style='display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%'>\n    <p style='margin-bottom: 0px'>Resource Provenance \"5308e69c-0494-47d6-ae70-6aefc7c116ea\"</p>\n    <p style='margin-bottom: 0px'>Profile:<a href='http://medcomfhir.dk/ig/messaging/2.0.0/StructureDefinition-medcom-messaging-provenance.html'>MedComMessagingProvenance</a>\n    </p>\n  </div>\n  <p>\n    <b>target</b>:<a href='#MessageHeader_7b67a8a9-d1a8-4eeb-8c3d-111ef3f2a05e'>See above (MessageHeader/7b67a8a9-d1a8-4eeb-8c3d-111ef3f2a05e)</a>\n  </p>\n  <p>\n    <b>occurred</b>: 2023-03-01 12:00:02+0100</p>\n  <p>\n    <b>recorded</b>: 3. mar. 2023 12.00.02</p>\n  <p>\n    <b>activity</b>: Start hospital stay-admission<span style='background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki'>(<a href='http://medcomfhir.dk/ig/terminology/1.1.1/CodeSystem-medcom-messaging-activityCodes.html'>MedComMessagingActivityCodes</a>#admit-inpatient)</span>\n  </p>\n  <h3>Agents</h3>\n  <table class='grid'>\n    <tr>\n      <td>-</td>\n      <td>\n        <b>Who</b>\n      </td>\n    </tr>\n    <tr>\n      <td>*</td>\n      <td>\n        <a href='#Organization_f372cc9e-3e93-4d56-b5a1-c0c54a013fe8'>See above (Organization/f372cc9e-3e93-4d56-b5a1-c0c54a013fe8)</a>\n      </td>\n    </tr>\n  </table>\n</div>"
        },
        "target" : [
          {
            "reference" : "MessageHeader/7b67a8a9-d1a8-4eeb-8c3d-111ef3f2a05e"
          }
        ],
        "occurredDateTime" : "2023-03-01T12:00:02+01:00",
        "recorded" : "2023-03-01T12:00:02+01:00",
        "activity" : {
          "coding" : [
            {
              "system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-activityCodes",
              "code" : "admit-inpatient"
            }
          ]
        },
        "agent" : [
          {
            "who" : {
              "reference" : "Organization/f372cc9e-3e93-4d56-b5a1-c0c54a013fe8"
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "Provenance/69dab277-dd4b-4055-9fda-a10a65cb4412",
      "resource" : {
        "resourceType" : "Provenance",
        "id" : "69dab277-dd4b-4055-9fda-a10a65cb4412",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns='http://www.w3.org/1999/xhtml'>\n  <p>\n    <b>Generated Narrative: Provenance</b>\n    <a name='69dab277-dd4b-4055-9fda-a10a65cb4412'/>\n  </p>\n  <div style='display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%'>\n    <p style='margin-bottom: 0px'>Resource Provenance \"69dab277-dd4b-4055-9fda-a10a65cb4412\"</p>\n    <p style='margin-bottom: 0px'>Profile:<a href='http://medcomfhir.dk/ig/messaging/2.0.0/StructureDefinition-medcom-messaging-provenance.html'>MedComMessagingProvenance</a>\n    </p>\n  </div>\n  <p>\n    <b>target</b>:<a href='#MessageHeader_c2f61230-8e53-4658-a027-5a9dc422ab39'>See above (MessageHeader/c2f61230-8e53-4658-a027-5a9dc422ab39)</a>\n  </p>\n  <p>\n    <b>occurred</b>: 2023-03-01 12:00:03+0100</p>\n  <p>\n    <b>recorded</b>: 1. mar. 2023 10.00.03</p>\n  <p>\n    <b>activity</b>: Acknowledgement message has been sent<span style='background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki'>(<a href='http://medcomfhir.dk/ig/terminology/1.0.0/CodeSystem-medcom-messaging-activityCodes.html'>MedComMessagingActivityCodes</a>#acknowledgement)</span>\n  </p>\n  <h3>Agents</h3>\n  <table class='grid'>\n    <tr>\n      <td>-</td>\n      <td>\n        <b>Who</b>\n      </td>\n    </tr>\n    <tr>\n      <td>*</td>\n      <td>\n        <a href='#Organization_f372cc9e-3e93-4d56-b5a1-c0c54a013fe8'>See above (Organization/f372cc9e-3e93-4d56-b5a1-c0c54a013fe8)</a>\n      </td>\n    </tr>\n  </table>\n  <h3>Entities</h3>\n  <table class='grid'>\n    <tr>\n      <td>-</td>\n      <td>\n        <b>Role</b>\n      </td>\n      <td>\n        <b>What</b>\n      </td>\n    </tr>\n    <tr>\n      <td>*</td>\n      <td>revision</td>\n      <td>\n        <a href='MessageHeader-42cb9200-f421-4d08-8391-7d51a2503cb4.html'>MessageHeader/42cb9200-f421-4d08-8391-7d51a2503cb4</a>\n      </td>\n    </tr>\n  </table>\n</div>"
        },
        "target" : [
          {
            "reference" : "MessageHeader/c2f61230-8e53-4658-a027-5a9dc422ab39"
          }
        ],
        "occurredDateTime" : "2023-03-01T12:00:03+01:00",
        "recorded" : "2023-03-01T12:00:03+01:00",
        "activity" : {
          "coding" : [
            {
              "system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-activityCodes",
              "code" : "acknowledgement"
            }
          ]
        },
        "agent" : [
          {
            "who" : {
              "reference" : "Organization/f372cc9e-3e93-4d56-b5a1-c0c54a013fe8"
            }
          }
        ],
        "entity" : [
          {
            "role" : "revision",
            "what" : {
              "reference" : "MessageHeader/7b67a8a9-d1a8-4eeb-8c3d-111ef3f2a05e"
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "Organization/f372cc9e-3e93-4d56-b5a1-c0c54a013fe8",
      "resource" : {
        "resourceType" : "Organization",
        "id" : "f372cc9e-3e93-4d56-b5a1-c0c54a013fe8",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns='http://www.w3.org/1999/xhtml'>\n  <p>\n    <b>Generated Narrative: Organization</b>\n    <a name='f372cc9e-3e93-4d56-b5a1-c0c54a013fe8'/>\n  </p>\n  <div style='display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%'>\n    <p style='margin-bottom: 0px'>Resource Organization \"f372cc9e-3e93-4d56-b5a1-c0c54a013fe8\"</p>\n    <p style='margin-bottom: 0px'>Profile:<a href='http://medcomfhir.dk/ig/messaging/2.0.0/StructureDefinition-medcom-messaging-organization.html'>MedComMessagingOrganization</a>\n    </p>\n  </div>\n  <p>\n    <b>identifier</b>: id: 5790001348120, id: 953741000016009</p>\n  <p>\n    <b>name</b>: Plejecenter Herlev</p>\n</div>"
        },
        "identifier" : [
          {
            "system" : "https://www.gs1.org/gln",
            "value" : "5790001348120"
          },
          {
            "system" : "urn:oid:1.2.208.176.1.1",
            "value" : "953741000016009"
          }
        ],
        "name" : "Plejecenter Herlev"
      }
    },
    {
      "fullUrl" : "Organization/34155e86-da33-4cc8-b749-46ed08454869",
      "resource" : {
        "resourceType" : "Organization",
        "id" : "34155e86-da33-4cc8-b749-46ed08454869",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns='http://www.w3.org/1999/xhtml'>\n  <p>\n    <b>Generated Narrative: Organization</b>\n    <a name='34155e86-da33-4cc8-b749-46ed08454869'/>\n  </p>\n  <div style='display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%'>\n    <p style='margin-bottom: 0px'>Resource Organization \"34155e86-da33-4cc8-b749-46ed08454869\"</p>\n    <p style='margin-bottom: 0px'>Profile:<a href='http://medcomfhir.dk/ig/messaging/2.0.0/StructureDefinition-medcom-messaging-organization.html'>MedComMessagingOrganization</a>\n    </p>\n  </div>\n  <p>\n    <b>identifier</b>: id: 5790000209354, id: 265161000016000</p>\n  <p>\n    <b>name</b>: Hjerteafdelingen p� Herlev og Gentofte hospital</p>\n</div>"
        },
        "identifier" : [
          {
            "system" : "https://www.gs1.org/gln",
            "value" : "5790000209354"
          },
          {
            "system" : "urn:oid:1.2.208.176.1.1",
            "value" : "265161000016000"
          }
        ],
        "name" : "Hjerteafdelingen på Herlev og Gentofte hospital"
      }
    }
  ]
}