HospitalNotification Testscripts
3.0.1 - ci-build

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

: 34fbe325-7edb-4956-a1db-15f2e053ac4d - 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 "34fbe325-7edb-4956-a1db-15f2e053ac4d"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-message"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-message>     ] )
  ] ; # 
  fhir:type [ fhir:v "message"] ; # 
  fhir:timestamp [ fhir:v "2023-02-28T10:00:06+01:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "MessageHeader/i50fc5fe-2d11-4ef3-acac-2e2e5c399006"^^xsd:anyURI ] ;
    ( fhir:resource <MessageHeader/i50fc5fe-2d11-4ef3-acac-2e2e5c399006> )
  ] [
fhir:fullUrl [ fhir:v "Patient/fdc1fc66-81d0-11ed-a1eb-0242ac120002"^^xsd:anyURI ] ;
    ( fhir:resource <Patient/fdc1fc66-81d0-11ed-a1eb-0242ac120002> )
  ] [
fhir:fullUrl [ fhir:v "Encounter/h2cb16ce-af8c-46f3-be9e-89406ef3e7b5"^^xsd:anyURI ] ;
    ( fhir:resource <Encounter/h2cb16ce-af8c-46f3-be9e-89406ef3e7b5> )
  ] [
fhir:fullUrl [ fhir:v "Organization/103fbebe-81d1-11ed-a1eb-0242ac120002"^^xsd:anyURI ] ;
    ( fhir:resource <Organization/103fbebe-81d1-11ed-a1eb-0242ac120002> )
  ] [
fhir:fullUrl [ fhir:v "Organization/1f5882b4-81d1-11ed-a1eb-0242ac120002"^^xsd:anyURI ] ;
    ( fhir:resource <Organization/1f5882b4-81d1-11ed-a1eb-0242ac120002> )
  ] [
fhir:fullUrl [ fhir:v "Provenance/h60bd482-9c47-43c5-9b77-1134eaa2d5f0"^^xsd:anyURI ] ;
    ( fhir:resource <Provenance/h60bd482-9c47-43c5-9b77-1134eaa2d5f0> )
  ] ) . # 

<MessageHeader/i50fc5fe-2d11-4ef3-acac-2e2e5c399006> a fhir:MessageHeader ;
  fhir:id [ fhir:v "i50fc5fe-2d11-4ef3-acac-2e2e5c399006"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-messageHeader"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-messageHeader>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MessageHeader</b><a name=\"i50fc5fe-2d11-4ef3-acac-2e2e5c399006\"/></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MessageHeader \"i50fc5fe-2d11-4ef3-acac-2e2e5c399006\"</p><p style=\"margin-bottom: 0px\">Profile: \n                                <a href=\"StructureDefinition-medcom-hospitalNotification-messageHeader.html\">MedComHospitalNotificationMessageHeader</a></p></div><p><b>MedComReportOfAdmissionExtension</b>: true\n                        </p><p><b>MedComReportOfAdmissionRecipientExtension</b>: \n                            <a href=\"#Organization_1f5882b4-81d1-11ed-a1eb-0242ac120002\">See above (Organization/1f5882b4-81d1-11ed-a1eb-0242ac120002)</a></p><p><b>event</b>: Hospital Notification Message (Details: http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-eventCodes code hospital-notification-message = 'Hospital Notification Message', stated as 'null')\n                        </p><h3>Destinations</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Endpoint</b></td><td><b>Receiver</b></td></tr><tr><td>*</td><td/><td><a href=\"https://sor2.sum.dsdn.dk/#id=953741000016009\">https://sor2.sum.dsdn.dk/#id=953741000016009</a></td><td><a href=\"#Organization_103fbebe-81d1-11ed-a1eb-0242ac120002\">See above (Organization/103fbebe-81d1-11ed-a1eb-0242ac120002)</a></td></tr></table><p><b>sender</b>: \n                            <a href=\"#Organization_1f5882b4-81d1-11ed-a1eb-0242ac120002\">See above (Organization/1f5882b4-81d1-11ed-a1eb-0242ac120002)</a></p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Endpoint</b></td></tr><tr><td>*</td><td><a href=\"https://sor2.sum.dsdn.dk/#id=265161000016000\">https://sor2.sum.dsdn.dk/#id=265161000016000</a></td></tr></table><p><b>focus</b>: \n                            <a href=\"#Encounter_h2cb16ce-af8c-46f3-be9e-89406ef3e7b5\">See above (Encounter/h2cb16ce-af8c-46f3-be9e-89406ef3e7b5)</a></p></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-messaging-reportOfAdmissionExtension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]
  ] [
fhir:url [ fhir:v "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-messaging-reportOfAdmissionRecipientExtension"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Organization/1f5882b4-81d1-11ed-a1eb-0242ac120002" ]     ]
  ] ) ; # 
  fhir:event [
a fhir:Coding ;
fhir:system [ fhir:v "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-eventCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "hospital-notification-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/103fbebe-81d1-11ed-a1eb-0242ac120002" ]     ]
  ] ) ; # 
  fhir:sender [
fhir:reference [ fhir:v "Organization/1f5882b4-81d1-11ed-a1eb-0242ac120002" ]
  ] ; # 
  fhir:source [
fhir:endpoint [ fhir:v "https://sor2.sum.dsdn.dk/#id=265161000016000"^^xsd:anyURI ]
  ] ; # 
  fhir:focus ( [
fhir:reference [ fhir:v "Encounter/h2cb16ce-af8c-46f3-be9e-89406ef3e7b5" ]
  ] ) . # 

<Patient/fdc1fc66-81d0-11ed-a1eb-0242ac120002> a fhir:Patient ;
  fhir:id [ fhir:v "fdc1fc66-81d0-11ed-a1eb-0242ac120002"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-patient"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-patient>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Patient</b><a name=\"fdc1fc66-81d0-11ed-a1eb-0242ac120002\"/></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Patient \"fdc1fc66-81d0-11ed-a1eb-0242ac120002\"</p><p style=\"margin-bottom: 0px\">Profile: \n                                <a href=\"http://medcomfhir.dk/ig/core/2.1.0/StructureDefinition-medcom-core-patient.html\">MedComCorePatient</a></p></div><p><b>identifier</b>: id: 2509479989\n                        </p><p><b>name</b>: Elmer (OFFICIAL)\n                        </p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "urn:oid:1.2.208.176.1.2"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2509479989" ]
  ] ) ; # 
  fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Elmer" ]
  ] ) . # 

<Encounter/h2cb16ce-af8c-46f3-be9e-89406ef3e7b5> a fhir:Encounter ;
  fhir:id [ fhir:v "h2cb16ce-af8c-46f3-be9e-89406ef3e7b5"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"h2cb16ce-af8c-46f3-be9e-89406ef3e7b5\"/></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Encounter \"h2cb16ce-af8c-46f3-be9e-89406ef3e7b5\"</p><p style=\"margin-bottom: 0px\">Profile: \n                                <a href=\"StructureDefinition-medcom-hospitalNotification-encounter.html\">MedComHospitalNotificationEncounter</a></p></div><p><b>status</b>: in-progress\n                        </p><p><b>class</b>: emergency (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code EMER = 'emergency', stated as 'null')\n                        </p><p><b>subject</b>: \n                            <a href=\"#Patient_fdc1fc66-81d0-11ed-a1eb-0242ac120002\">See above (Patient/fdc1fc66-81d0-11ed-a1eb-0242ac120002)</a></p><p><b>episodeOfCare</b>: \n                            <span/></p><p><b>period</b>: 2023-02-28 10:00:04+0200 --&gt; (ongoing)\n                        </p><p><b>serviceProvider</b>: \n                            <a href=\"#Organization_1f5882b4-81d1-11ed-a1eb-0242ac120002\">See above (Organization/1f5882b4-81d1-11ed-a1eb-0242ac120002)</a></p></div>"
  ] ; # 
  fhir:status [ fhir:v "in-progress"] ; # 
  fhir:class [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "EMER" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/fdc1fc66-81d0-11ed-a1eb-0242ac120002" ]
  ] ; # 
  fhir:episodeOfCare ( [
fhir:identifier [
fhir:system [ fhir:v "https://sor2.sum.dsdn.dk/#id=265161000016000"^^xsd:anyURI ] ;
fhir:value [ fhir:v "c10697b6-8d7a-4d2d-ae93-f7f56abd52cc" ]     ]
  ] ) ; # 
  fhir:period [
fhir:start [ fhir:v "2023-02-28T10:00:04+01:00"^^xsd:dateTime ]
  ] ; # 
  fhir:serviceProvider [
fhir:reference [ fhir:v "Organization/1f5882b4-81d1-11ed-a1eb-0242ac120002" ]
  ] . # 

<Organization/103fbebe-81d1-11ed-a1eb-0242ac120002> a fhir:Organization ;
  fhir:id [ fhir:v "103fbebe-81d1-11ed-a1eb-0242ac120002"] ; # 
  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\"><p><b>Generated Narrative: Organization</b><a name=\"103fbebe-81d1-11ed-a1eb-0242ac120002\"/></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Organization \"103fbebe-81d1-11ed-a1eb-0242ac120002\"</p><p style=\"margin-bottom: 0px\">Profile: \n                                <a href=\"http://medcomfhir.dk/ig/messaging/2.0.0/StructureDefinition-medcom-messaging-organization.html\">MedComMessagingOrganization</a></p></div><p><b>identifier</b>: id: 5790001348120, id: 953741000016009\n                        </p><p><b>name</b>: Plejecenter Herlev\n                        </p></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/1f5882b4-81d1-11ed-a1eb-0242ac120002> a fhir:Organization ;
  fhir:id [ fhir:v "1f5882b4-81d1-11ed-a1eb-0242ac120002"] ; # 
  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\"><p><b>Generated Narrative: Organization</b><a name=\"1f5882b4-81d1-11ed-a1eb-0242ac120002\"/></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Organization \"1f5882b4-81d1-11ed-a1eb-0242ac120002\"</p><p style=\"margin-bottom: 0px\">Profile: \n                                <a href=\"http://medcomfhir.dk/ig/messaging/2.0.0/StructureDefinition-medcom-messaging-organization.html\">MedComMessagingOrganization</a></p></div><p><b>identifier</b>: id: 5790000209354, id: 265161000016000\n                        </p><p><b>name</b>: Hjerteafdelingen på Herlev og Gentofte hospital\n                        </p></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"] . # 

<Provenance/h60bd482-9c47-43c5-9b77-1134eaa2d5f0> a fhir:Provenance ;
  fhir:id [ fhir:v "h60bd482-9c47-43c5-9b77-1134eaa2d5f0"] ; # 
  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\"><p><b>Generated Narrative: Provenance</b><a name=\"h60bd482-9c47-43c5-9b77-1134eaa2d5f0\"/></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Provenance \"h60bd482-9c47-43c5-9b77-1134eaa2d5f0\"</p><p style=\"margin-bottom: 0px\">Profile: \n                                <a href=\"http://medcomfhir.dk/ig/messaging/2.0.0/StructureDefinition-medcom-messaging-provenance.html\">MedComMessagingProvenance</a></p></div><p><b>target</b>: \n                            <a href=\"#MessageHeader_i50fc5fe-2d11-4ef3-acac-2e2e5c399006\">See above (MessageHeader/i50fc5fe-2d11-4ef3-acac-2e2e5c399006)</a></p><p><b>occurred</b>: 2023-02-28 10:00:06+0200\n                        </p><p><b>recorded</b>: 1. dec. 2022 09.00.06\n                        </p><p><b>activity</b>: Start hospital stay-acute ambulant \n                            <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">(\n                                <a href=\"http://medcomfhir.dk/ig/terminology/1.1.1/CodeSystem-medcom-messaging-activityCodes.html\">MedComMessagingActivityCodes</a>#admit-emergency)\n                            </span></p><h3>Agents</h3><table class=\"grid\"><tr><td>-</td><td><b>Who</b></td></tr><tr><td>*</td><td><a href=\"#Organization_1f5882b4-81d1-11ed-a1eb-0242ac120002\">See above (Organization/1f5882b4-81d1-11ed-a1eb-0242ac120002)</a></td></tr></table></div>"
  ] ; # 
  fhir:target ( [
fhir:reference [ fhir:v "MessageHeader/i50fc5fe-2d11-4ef3-acac-2e2e5c399006" ]
  ] ) ; # 
  fhir:occurred [ fhir:v "2023-02-28T10:00:06+01:00"^^xsd:dateTime] ; # 
  fhir:recorded [ fhir:v "2023-02-28T10:00:06+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-emergency" ]     ] )
  ] ; # 
  fhir:agent ( [
fhir:who [
fhir:reference [ fhir:v "Organization/1f5882b4-81d1-11ed-a1eb-0242ac120002" ]     ]
  ] ) . #