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

: fd618b85-9376-45ac-b0bd-67b0541f4fa4 - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "fd618b85-9376-45ac-b0bd-67b0541f4fa4"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "1" ] ;
fhir:lastUpdated [ fhir:v "2023-05-24T06:46:04.829-04:00"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "http://medcomfhir.dk/ig/acknowledgement/StructureDefinition/medcom-messaging-acknowledgement"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/acknowledgement/StructureDefinition/medcom-messaging-acknowledgement>     ] )
  ] ; # 
  fhir:type [ fhir:v "message"] ; # 
  fhir:timestamp [ fhir:v "2023-05-24T10:46:03Z"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "MessageHeader/9b9a47da-025e-4c3e-9d5e-7ec98eca5030"^^xsd:anyURI ] ;
    ( fhir:resource <MessageHeader/9b9a47da-025e-4c3e-9d5e-7ec98eca5030> )
  ] [
fhir:fullUrl [ fhir:v "OperationOutcome/8f8218bc-457b-49a7-b70a-bf0f67f26952"^^xsd:anyURI ] ;
    ( fhir:resource <OperationOutcome/8f8218bc-457b-49a7-b70a-bf0f67f26952> )
  ] [
fhir:fullUrl [ fhir:v "Provenance/2a004836-e306-4deb-9e8b-769cc2da38bc"^^xsd:anyURI ] ;
    ( fhir:resource <Provenance/2a004836-e306-4deb-9e8b-769cc2da38bc> )
  ] [
fhir:fullUrl [ fhir:v "Provenance/69dab277-dd4b-4055-9fda-a10a65cb4412"^^xsd:anyURI ] ;
    ( fhir:resource <Provenance/69dab277-dd4b-4055-9fda-a10a65cb4412> )
  ] [
fhir:fullUrl [ fhir:v "Organization/23d90bb8-b79d-4cdf-b3ca-346ab800bc07"^^xsd:anyURI ] ;
    ( fhir:resource <Organization/23d90bb8-b79d-4cdf-b3ca-346ab800bc07> )
  ] [
fhir:fullUrl [ fhir:v "Organization/9121ffaf-2361-43be-9838-9dba80ef1f84"^^xsd:anyURI ] ;
    ( fhir:resource <Organization/9121ffaf-2361-43be-9838-9dba80ef1f84> )
  ] ) . # 

<MessageHeader/9b9a47da-025e-4c3e-9d5e-7ec98eca5030> a fhir:MessageHeader ;
  fhir:id [ fhir:v "9b9a47da-025e-4c3e-9d5e-7ec98eca5030"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://medcomfhir.dk/ig/acknowledgement/StructureDefinition/medcom-messaging-acknowledgementHeader"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/acknowledgement/StructureDefinition/medcom-messaging-acknowledgementHeader>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns='http://www.w3.org/1999/xhtml'>\n  <p>\n    <b>Generated Narrative: MessageHeader</b>\n    <a name='9b9a47da-025e-4c3e-9d5e-7ec98eca5030'/>\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 \"9b9a47da-025e-4c3e-9d5e-7ec98eca5030\"</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_23d90bb8-b79d-4cdf-b3ca-346ab800bc07'>See above (Organization/23d90bb8-b79d-4cdf-b3ca-346ab800bc07)</a>\n      </td>\n    </tr>\n  </table>\n  <p>\n    <b>sender</b>:<a href='#Organization_9121ffaf-2361-43be-9838-9dba80ef1f84'>See above (Organization/9121ffaf-2361-43be-9838-9dba80ef1f84)</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>5b89a5d0-707a-4b42-8597-ef694e399006</td>\n      <td>ok</td>\n    </tr>\n  </table>\n</div>"
  ] ; # 
  fhir:event [
a fhir:Coding ;
fhir:system [ fhir:v "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-eventCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "acknowledgement-message" ]
  ] ; # 
  fhir:destination ( [
    ( fhir:extension [
fhir:url [ fhir:v "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-destinationUse"^^xsd:anyURI ] ;
fhir:code [ fhir:v "primary" ]       ]     ] ) ;
fhir:endpoint [ fhir:v "https://sor2.sum.dsdn.dk/#id=953741000016009"^^xsd:anyURI ] ;
fhir:receiver [
fhir:reference [ fhir:v "Organization/23d90bb8-b79d-4cdf-b3ca-346ab800bc07" ]     ]
  ] ) ; # 
  fhir:sender [
fhir:reference [ fhir:v "Organization/9121ffaf-2361-43be-9838-9dba80ef1f84" ]
  ] ; # 
  fhir:source [
fhir:endpoint [ fhir:v "https://sor2.sum.dsdn.dk/#id=265161000016000"^^xsd:anyURI ]
  ] ; # 
  fhir:response [
fhir:identifier [ fhir:v "5b89a5d0-707a-4b42-8597-ef694e399006" ] ;
fhir:code [ fhir:v "fatal-error" ] ;
fhir:details [
fhir:reference [ fhir:v "OperationOutcome/8f8218bc-457b-49a7-b70a-bf0f67f26952" ]     ]
  ] . # 

<OperationOutcome/8f8218bc-457b-49a7-b70a-bf0f67f26952> a fhir:OperationOutcome ;
  fhir:id [ fhir:v "8f8218bc-457b-49a7-b70a-bf0f67f26952"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://medcomfhir.dk/ig/acknowledgement/StructureDefinition/medcom-acknowledgement-operationoutcome"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/acknowledgement/StructureDefinition/medcom-acknowledgement-operationoutcome>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns='http://www.w3.org/1999/xhtml'>\n  <p>\n    <b>Generated Narrative: OperationOutcome</b>\n    <a name='8f8218bc-457b-49a7-b70a-bf0f67f26952'/>\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 \"8f8218bc-457b-49a7-b70a-bf0f67f26952\"</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>"
  ] ; # 
  fhir:issue ( [
fhir:severity [ fhir:v "error" ] ;
fhir:code [ fhir:v "value" ] ;
fhir:details [
      ( fhir:coding [
fhir:system [ fhir:v "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-acknowledgement-issue-details"^^xsd:anyURI ] ;
fhir:code [ fhir:v "message-development-error" ]       ] )     ]
  ] ) . # 

<Provenance/2a004836-e306-4deb-9e8b-769cc2da38bc> a fhir:Provenance ;
  fhir:id [ fhir:v "2a004836-e306-4deb-9e8b-769cc2da38bc"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns='http://www.w3.org/1999/xhtml'>\n  <p>\n    <b>Generated Narrative: Provenance</b>\n    <a name='2a004836-e306-4deb-9e8b-769cc2da38bc'/>\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 \"2a004836-e306-4deb-9e8b-769cc2da38bc\"</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_5b89a5d0-707a-4b42-8597-ef694e399006'>See above (MessageHeader/5b89a5d0-707a-4b42-8597-ef694e399006)</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_9121ffaf-2361-43be-9838-9dba80ef1f84'>See above (Organization/9121ffaf-2361-43be-9838-9dba80ef1f84)</a>\n      </td>\n    </tr>\n  </table>\n</div>"
  ] ; # 
  fhir:target ( [
fhir:reference [ fhir:v "MessageHeader/5b89a5d0-707a-4b42-8597-ef694e399006" ]
  ] ) ; # 
  fhir:occurred [ fhir:v "2023-03-01T12:00:02+01:00"^^xsd:dateTime] ; # 
  fhir:recorded [ fhir:v "2023-03-01T12:00:02+01:00"^^xsd:dateTime] ; # 
  fhir:activity [
    ( fhir:coding [
fhir:system [ fhir:v "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-activityCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "admit-inpatient" ]     ] )
  ] ; # 
  fhir:agent ( [
fhir:who [
fhir:reference [ fhir:v "Organization/9121ffaf-2361-43be-9838-9dba80ef1f84" ]     ]
  ] ) . # 

<Provenance/69dab277-dd4b-4055-9fda-a10a65cb4412> a fhir:Provenance ;
  fhir:id [ fhir:v "69dab277-dd4b-4055-9fda-a10a65cb4412"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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_9b9a47da-025e-4c3e-9d5e-7ec98eca5030'>See above (MessageHeader/9b9a47da-025e-4c3e-9d5e-7ec98eca5030)</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_23d90bb8-b79d-4cdf-b3ca-346ab800bc07'>See above (Organization/23d90bb8-b79d-4cdf-b3ca-346ab800bc07)</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-5b89a5d0-707a-4b42-8597-ef694e399006.html'>MessageHeader/5b89a5d0-707a-4b42-8597-ef694e399006</a>\n      </td>\n    </tr>\n  </table>\n</div>"
  ] ; # 
  fhir:target ( [
fhir:reference [ fhir:v "MessageHeader/9b9a47da-025e-4c3e-9d5e-7ec98eca5030" ]
  ] ) ; # 
  fhir:occurred [ fhir:v "2023-03-01T12:00:03+01:00"^^xsd:dateTime] ; # 
  fhir:recorded [ fhir:v "2023-03-01T12:00:03+01:00"^^xsd:dateTime] ; # 
  fhir:activity [
    ( fhir:coding [
fhir:system [ fhir:v "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-activityCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "acknowledgement" ]     ] )
  ] ; # 
  fhir:agent ( [
fhir:who [
fhir:reference [ fhir:v "Organization/23d90bb8-b79d-4cdf-b3ca-346ab800bc07" ]     ]
  ] ) ; # 
  fhir:entity ( [
fhir:role [ fhir:v "revision" ] ;
fhir:what [
fhir:reference [ fhir:v "MessageHeader/5b89a5d0-707a-4b42-8597-ef694e399006" ]     ]
  ] ) . # 

<Organization/23d90bb8-b79d-4cdf-b3ca-346ab800bc07> a fhir:Organization ;
  fhir:id [ fhir:v "23d90bb8-b79d-4cdf-b3ca-346ab800bc07"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns='http://www.w3.org/1999/xhtml'>\n  <p>\n    <b>Generated Narrative: Organization</b>\n    <a name='23d90bb8-b79d-4cdf-b3ca-346ab800bc07'/>\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 \"23d90bb8-b79d-4cdf-b3ca-346ab800bc07\"</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>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "https://www.gs1.org/gln"^^xsd:anyURI ] ;
fhir:value [ fhir:v "5790001348120" ]
  ] [
fhir:system [ fhir:v "urn:oid:1.2.208.176.1.1"^^xsd:anyURI ] ;
fhir:value [ fhir:v "953741000016009" ]
  ] ) ; # 
  fhir:name [ fhir:v "Plejecenter Herlev"] . # 

<Organization/9121ffaf-2361-43be-9838-9dba80ef1f84> a fhir:Organization ;
  fhir:id [ fhir:v "9121ffaf-2361-43be-9838-9dba80ef1f84"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns='http://www.w3.org/1999/xhtml'>\n  <p>\n    <b>Generated Narrative: Organization</b>\n    <a name='9121ffaf-2361-43be-9838-9dba80ef1f84'/>\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 \"9121ffaf-2361-43be-9838-9dba80ef1f84\"</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>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "https://www.gs1.org/gln"^^xsd:anyURI ] ;
fhir:value [ fhir:v "5790000209354" ]
  ] [
fhir:system [ fhir:v "urn:oid:1.2.208.176.1.1"^^xsd:anyURI ] ;
fhir:value [ fhir:v "265161000016000" ]
  ] ) ; # 
  fhir:name [ fhir:v "Hjerteafdelingen på Herlev og Gentofte hospital"] . #