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

: 32f3e314-8fcb-4147-87d4-fbed2ea2f741 - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "32f3e314-8fcb-4147-87d4-fbed2ea2f741",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2023-05-24T06:47:54.568-04:00",
    "profile" : [
      "http://medcomfhir.dk/ig/acknowledgement/StructureDefinition/medcom-messaging-acknowledgement"
    ]
  },
  "type" : "message",
  "timestamp" : "2023-05-24T10:47:53Z",
  "entry" : [
    {
      "fullUrl" : "MessageHeader/151edda9-ab67-4fc1-8841-11824529adce",
      "resource" : {
        "resourceType" : "MessageHeader",
        "id" : "151edda9-ab67-4fc1-8841-11824529adce",
        "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='151edda9-ab67-4fc1-8841-11824529adce'/>\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 \"151edda9-ab67-4fc1-8841-11824529adce\"</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_b623e2cc-0f4a-454a-9ac2-996bd708e027'>See above (Organization/f372cc9e-3e93-4d56-b5a1-c0c54a013fe8)</a>\n      </td>\n    </tr>\n  </table>\n  <p>\n    <b>sender</b>:<a href='#Organization_cdc4a356-4dc3-4672-9f55-1aa5089c6b62'>See above (Organization/cdc4a356-4dc3-4672-9f55-1aa5089c6b62)</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/b623e2cc-0f4a-454a-9ac2-996bd708e027"
            }
          }
        ],
        "sender" : {
          "reference" : "Organization/cdc4a356-4dc3-4672-9f55-1aa5089c6b62"
        },
        "source" : {
          "endpoint" : "https://sor2.sum.dsdn.dk/#id=265161000016000"
        },
        "response" : {
          "identifier" : "42cb9200-f421-4d08-8391-7d51a2503cb4",
          "code" : "transient-error",
          "details" : {
            "reference" : "OperationOutcome/c0055484-2a56-4da2-81b8-a9d5087d865c"
          }
        }
      }
    },
    {
      "fullUrl" : "OperationOutcome/c0055484-2a56-4da2-81b8-a9d5087d865c",
      "resource" : {
        "resourceType" : "OperationOutcome",
        "id" : "c0055484-2a56-4da2-81b8-a9d5087d865c",
        "meta" : {
          "profile" : [
            "http://medcomfhir.dk/ig/acknowledgement/StructureDefinition/medcom-acknowledgement-operationoutcome"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns='http://www.w3.org/1999/xhtml'>\n  <p>\n    <b>Generated Narrative: OperationOutcome</b>\n    <a name='c0055484-2a56-4da2-81b8-a9d5087d865c'/>\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 OperationOutcome \"c0055484-2a56-4da2-81b8-a9d5087d865c\"</p>\n    <p style='margin-bottom: 0px'>Profile:<a href='StructureDefinition-medcom-acknowledgement-operationoutcome.html'>MedComAcknowledgementOperationOutcome</a>\n    </p>\n  </div>\n  <h3>Issues</h3>\n  <table class='grid'>\n    <tr>\n      <td>-</td>\n      <td>\n        <b>Severity</b>\n      </td>\n      <td>\n        <b>Code</b>\n      </td>\n      <td>\n        <b>Details</b>\n      </td>\n    </tr>\n    <tr>\n      <td>*</td>\n      <td>error</td>\n      <td>value</td>\n      <td>This code is temporary. It is used to describe an error in the development of the message.<span style='background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki'>(<a href='http://medcomfhir.dk/ig/terminology/1.0.0/CodeSystem-medcom-acknowledgement-issue-details.html'>MedComAcknowledgementIssueDetails</a>#message-development-error)</span>\n      </td>\n    </tr>\n  </table>\n</div>"
        },
        "issue" : [
          {
            "severity" : "error",
            "code" : "value",
            "details" : {
              "coding" : [
                {
                  "system" : "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-acknowledgement-issue-details",
                  "code" : "message-development-error"
                }
              ]
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "Provenance/291de9f7-7618-4623-b6f9-aef2b84febea",
      "resource" : {
        "resourceType" : "Provenance",
        "id" : "291de9f7-7618-4623-b6f9-aef2b84febea",
        "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='291de9f7-7618-4623-b6f9-aef2b84febea'/>\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 \"291de9f7-7618-4623-b6f9-aef2b84febea\"</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_29618a59-7bc8-49cb-959e-856a48999fce'>See above (MessageHeader/29618a59-7bc8-49cb-959e-856a48999fce)</a>\n  </p>\n  <p>\n    <b>occurred</b>: 2023-03-01 12:00:02+0200</p>\n  <p>\n    <b>recorded</b>: 7. dec. 2022 11.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_cdc4a356-4dc3-4672-9f55-1aa5089c6b62'>See above (Organization/cdc4a356-4dc3-4672-9f55-1aa5089c6b62)</a>\n      </td>\n    </tr>\n  </table>\n</div>"
        },
        "target" : [
          {
            "reference" : "MessageHeader/29618a59-7bc8-49cb-959e-856a48999fce"
          }
        ],
        "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/cdc4a356-4dc3-4672-9f55-1aa5089c6b62"
            }
          }
        ]
      }
    },
    {
      "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_151edda9-ab67-4fc1-8841-11824529adce'>See above (MessageHeader/151edda9-ab67-4fc1-8841-11824529adce)</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_b623e2cc-0f4a-454a-9ac2-996bd708e027'>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/151edda9-ab67-4fc1-8841-11824529adce"
          }
        ],
        "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/b623e2cc-0f4a-454a-9ac2-996bd708e027"
            }
          }
        ],
        "entity" : [
          {
            "role" : "revision",
            "what" : {
              "reference" : "MessageHeader/29618a59-7bc8-49cb-959e-856a48999fce"
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "Organization/b623e2cc-0f4a-454a-9ac2-996bd708e027",
      "resource" : {
        "resourceType" : "Organization",
        "id" : "b623e2cc-0f4a-454a-9ac2-996bd708e027",
        "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='b623e2cc-0f4a-454a-9ac2-996bd708e027'/>\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/cdc4a356-4dc3-4672-9f55-1aa5089c6b62",
      "resource" : {
        "resourceType" : "Organization",
        "id" : "cdc4a356-4dc3-4672-9f55-1aa5089c6b62",
        "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='cdc4a356-4dc3-4672-9f55-1aa5089c6b62'/>\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 \"cdc4a356-4dc3-4672-9f55-1aa5089c6b62\"</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"
      }
    }
  ]
}