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 - 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 "32f3e314-8fcb-4147-87d4-fbed2ea2f741"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "1" ] ;
fhir:lastUpdated [ fhir:v "2023-05-24T06:47:54.568-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:47:53Z"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "MessageHeader/151edda9-ab67-4fc1-8841-11824529adce"^^xsd:anyURI ] ;
    ( fhir:resource <MessageHeader/151edda9-ab67-4fc1-8841-11824529adce> )
  ] [
fhir:fullUrl [ fhir:v "OperationOutcome/c0055484-2a56-4da2-81b8-a9d5087d865c"^^xsd:anyURI ] ;
    ( fhir:resource <OperationOutcome/c0055484-2a56-4da2-81b8-a9d5087d865c> )
  ] [
fhir:fullUrl [ fhir:v "Provenance/291de9f7-7618-4623-b6f9-aef2b84febea"^^xsd:anyURI ] ;
    ( fhir:resource <Provenance/291de9f7-7618-4623-b6f9-aef2b84febea> )
  ] [
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/b623e2cc-0f4a-454a-9ac2-996bd708e027"^^xsd:anyURI ] ;
    ( fhir:resource <Organization/b623e2cc-0f4a-454a-9ac2-996bd708e027> )
  ] [
fhir:fullUrl [ fhir:v "Organization/cdc4a356-4dc3-4672-9f55-1aa5089c6b62"^^xsd:anyURI ] ;
    ( fhir:resource <Organization/cdc4a356-4dc3-4672-9f55-1aa5089c6b62> )
  ] ) . # 

<MessageHeader/151edda9-ab67-4fc1-8841-11824529adce> a fhir:MessageHeader ;
  fhir:id [ fhir:v "151edda9-ab67-4fc1-8841-11824529adce"] ; # 
  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='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>"
  ] ; # 
  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/b623e2cc-0f4a-454a-9ac2-996bd708e027" ]     ]
  ] ) ; # 
  fhir:sender [
fhir:reference [ fhir:v "Organization/cdc4a356-4dc3-4672-9f55-1aa5089c6b62" ]
  ] ; # 
  fhir:source [
fhir:endpoint [ fhir:v "https://sor2.sum.dsdn.dk/#id=265161000016000"^^xsd:anyURI ]
  ] ; # 
  fhir:response [
fhir:identifier [ fhir:v "42cb9200-f421-4d08-8391-7d51a2503cb4" ] ;
fhir:code [ fhir:v "transient-error" ] ;
fhir:details [
fhir:reference [ fhir:v "OperationOutcome/c0055484-2a56-4da2-81b8-a9d5087d865c" ]     ]
  ] . # 

<OperationOutcome/c0055484-2a56-4da2-81b8-a9d5087d865c> a fhir:OperationOutcome ;
  fhir:id [ fhir:v "c0055484-2a56-4da2-81b8-a9d5087d865c"] ; # 
  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='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>"
  ] ; # 
  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/291de9f7-7618-4623-b6f9-aef2b84febea> a fhir:Provenance ;
  fhir:id [ fhir:v "291de9f7-7618-4623-b6f9-aef2b84febea"] ; # 
  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='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>"
  ] ; # 
  fhir:target ( [
fhir:reference [ fhir:v "MessageHeader/29618a59-7bc8-49cb-959e-856a48999fce" ]
  ] ) ; # 
  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/cdc4a356-4dc3-4672-9f55-1aa5089c6b62" ]     ]
  ] ) . # 

<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_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>"
  ] ; # 
  fhir:target ( [
fhir:reference [ fhir:v "MessageHeader/151edda9-ab67-4fc1-8841-11824529adce" ]
  ] ) ; # 
  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/b623e2cc-0f4a-454a-9ac2-996bd708e027" ]     ]
  ] ) ; # 
  fhir:entity ( [
fhir:role [ fhir:v "revision" ] ;
fhir:what [
fhir:reference [ fhir:v "MessageHeader/29618a59-7bc8-49cb-959e-856a48999fce" ]     ]
  ] ) . # 

<Organization/b623e2cc-0f4a-454a-9ac2-996bd708e027> a fhir:Organization ;
  fhir:id [ fhir:v "b623e2cc-0f4a-454a-9ac2-996bd708e027"] ; # 
  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='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>"
  ] ; # 
  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/cdc4a356-4dc3-4672-9f55-1aa5089c6b62> a fhir:Organization ;
  fhir:id [ fhir:v "cdc4a356-4dc3-4672-9f55-1aa5089c6b62"] ; # 
  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='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>"
  ] ; # 
  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"] . #