@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://medcomfhir.dk/ig/xdsdocuments/DocumentReference/16002002-ac41-45de-ad6b-eb02b098e859> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "16002002-ac41-45de-ad6b-eb02b098e859"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://medcomfhir.dk/ig/xdsdocuments/StructureDefinition/homecare-observation-documentreference"^^xsd:anyURI ;
       fhir:l <http://medcomfhir.dk/ig/xdsdocuments/StructureDefinition/homecare-observation-documentreference>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>DocumentReference resource</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:contained ( [
     a fhir:Patient ;
     fhir:id [ fhir:v "769e04f2-6c09-45fe-8037-31ec1d59ce3b" ] ;
     fhir:meta [
       fhir:profile ( [
         fhir:v "http://medcomfhir.dk/ig/document/StructureDefinition/medcom-document-patient"^^xsd:anyURI ;
         fhir:l <http://medcomfhir.dk/ig/document/StructureDefinition/medcom-document-patient>
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">CPR: 0602631234, Name: Grethe KGBTest</div>"^^rdf:XMLLiteral ]
     ] ;
     fhir:identifier ( [
       fhir:system [
         fhir:v "urn:oid:1.2.208.176.1.2"^^xsd:anyURI ;
         fhir:l <urn:oid:1.2.208.176.1.2>
       ] ;
       fhir:value [ fhir:v "0602631234" ]
     ] ) ;
     fhir:name ( [
       fhir:use [ fhir:v "official" ] ;
       fhir:family [ fhir:v "KGBTest" ] ;
       fhir:given ( [ fhir:v "Grethe" ] )
     ] ) ;
     fhir:gender [ fhir:v "female" ] ;
     fhir:birthDate [ fhir:v "1963-02-06"^^xsd:date ]
  ] [
     a fhir:Organization ;
     fhir:id [ fhir:v "a7e61c7a-c2e7-40a5-ba9f-58d44cc2f6e1" ] ;
     fhir:meta [
       fhir:profile ( [
         fhir:v "http://medcomfhir.dk/ig/document/StructureDefinition/medcom-document-organization"^^xsd:anyURI ;
         fhir:l <http://medcomfhir.dk/ig/document/StructureDefinition/medcom-document-organization>
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Name: Aarhus Kommune, Identifier: 937961000016000, GLN: 5790000123117</div>"^^rdf:XMLLiteral ]
     ] ;
     fhir:identifier ( [
       fhir:system [
         fhir:v "urn:oid:1.2.208.176.1.1"^^xsd:anyURI ;
         fhir:l <urn:oid:1.2.208.176.1.1>
       ] ;
       fhir:value [ fhir:v "937961000016000" ]
     ] [
       fhir:system [
         fhir:v "http://www.gs1.org/gln"^^xsd:anyURI ;
         fhir:l <http://www.gs1.org/gln>
       ] ;
       fhir:value [ fhir:v "5790000123117" ]
     ] ) ;
     fhir:name [ fhir:v "Aarhus Kommune" ]
  ] [
     a fhir:Practitioner ;
     fhir:id [ fhir:v "6f7bf020-4417-4f29-a896-4ee70fcb1780" ] ;
     fhir:meta [
       fhir:profile ( [
         fhir:v "http://medcomfhir.dk/ig/document/StructureDefinition/medcom-document-practitioner"^^xsd:anyURI ;
         fhir:l <http://medcomfhir.dk/ig/document/StructureDefinition/medcom-document-practitioner>
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Name: Mia null</div>"^^rdf:XMLLiteral ]
     ] ;
     fhir:identifier ( [
       fhir:system [
         fhir:v "http://cura.systematic.com"^^xsd:anyURI ;
         fhir:l <http://cura.systematic.com>
       ] ;
       fhir:value [ fhir:v "6f7bf020-4417-4f29-a896-4ee70fcb1780" ]
     ] ) ;
     fhir:name ( [
       fhir:family [ fhir:v "null" ] ;
       fhir:given ( [ fhir:v "Mia" ] )
     ] )
  ] ) ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.version"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.version>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "2.0"
     ]
  ] ) ; # 
  fhir:masterIdentifier [
     fhir:use [ fhir:v "usual" ] ;
     fhir:system [
       fhir:v "https://systematic.dk/columna/cura"^^xsd:anyURI ;
       fhir:l <https://systematic.dk/columna/cura>
     ] ;
     fhir:value [ fhir:v "urn:uuid:acf1f0c6-d9e1-404c-a580-392f2e38395d" ]
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:uuid:16002002-ac41-45de-ad6b-eb02b098e859" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:oid:1.2.208.184.100.1"^^xsd:anyURI ;
         fhir:l <urn:oid:1.2.208.184.100.1>
       ] ;
       fhir:code [ fhir:v "HCOM" ] ;
       fhir:display [ fhir:v "HomeCareObservation message" ]
     ] )
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://medcomfhir.dk/ig/document/CodeSystem/MedCom-ihe-classcode-CS-TEMP"^^xsd:anyURI ;
         fhir:l <http://medcomfhir.dk/ig/document/CodeSystem/MedCom-ihe-classcode-CS-TEMP>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "Klinisk rapport" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:l <#769e04f2-6c09-45fe-8037-31ec1d59ce3b> ;
     fhir:reference [ fhir:v "#769e04f2-6c09-45fe-8037-31ec1d59ce3b" ]
  ] ; # 
  fhir:author ( [
     fhir:l <#a7e61c7a-c2e7-40a5-ba9f-58d44cc2f6e1> ;
     fhir:reference [ fhir:v "#a7e61c7a-c2e7-40a5-ba9f-58d44cc2f6e1" ]
  ] [
     fhir:l <#6f7bf020-4417-4f29-a896-4ee70fcb1780> ;
     fhir:reference [ fhir:v "#6f7bf020-4417-4f29-a896-4ee70fcb1780" ]
  ] ) ; # 
  fhir:securityLabel ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-Confidentiality>
       ] ;
       fhir:code [ fhir:v "N" ]
     ] )
  ] ) ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:contentType [ fhir:v "application/fhir+xml" ] ;
       fhir:language [ fhir:v "da" ] ;
       fhir:url [
         fhir:v "HCOM-8bc6cf81-47b0-4cdf-bb89-75311909d35b.xml"^^xsd:anyURI ;
         fhir:l fhir:HCOM-8bc6cf81-47b0-4cdf-bb89-75311909d35b.xml
       ] ;
       fhir:title [ fhir:v "HCOM-8bc6cf81-47b0-4cdf-bb89-75311909d35b.xml" ] ;
       fhir:creation [ fhir:v "2026-04-28T10:15:52+02:00"^^xsd:dateTime ]
     ] ;
     fhir:format [
       fhir:system [
         fhir:v "http://medcomfhir.dk/ig/xdsdocuments/CodeSystem/MedComHCOFormatCodeCS"^^xsd:anyURI ;
         fhir:l <http://medcomfhir.dk/ig/xdsdocuments/CodeSystem/MedComHCOFormatCodeCS>
       ] ;
       fhir:code [ fhir:v "urn:ad:dk:medcom:msg:hco-v1.2:full" ] ;
       fhir:display [ fhir:v "DK HomeCareObservation message v1.2" ]
     ]
  ] ) ; # 
  fhir:context [
     fhir:period [
       fhir:start [ fhir:v "2026-04-28T10:15:52+02:00"^^xsd:dateTime ]
     ] ;
     fhir:facilityType [
       fhir:coding ( [
         a sct:550621000005101 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:version [ fhir:v "http://snomed.info/sct/554471000005108" ] ;
         fhir:code [ fhir:v "550621000005101" ] ;
         fhir:display [ fhir:v "hjemmesygeplejeenhed" ]
       ] )
     ] ;
     fhir:practiceSetting [
       fhir:coding ( [
         a sct:658161000005107 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:version [ fhir:v "http://snomed.info/sct/554471000005108" ] ;
         fhir:code [ fhir:v "658161000005107" ] ;
         fhir:display [ fhir:v "hjemmesygepleje" ]
       ] )
     ] ;
     fhir:sourcePatientInfo [
       fhir:l <#769e04f2-6c09-45fe-8037-31ec1d59ce3b> ;
       fhir:reference [ fhir:v "#769e04f2-6c09-45fe-8037-31ec1d59ce3b" ] ;
       fhir:identifier [
         fhir:system [
           fhir:v "urn:oid:1.2.208.176.1.2"^^xsd:anyURI ;
           fhir:l <urn:oid:1.2.208.176.1.2>
         ] ;
         fhir:value [ fhir:v "0602631234" ]
       ]
     ]
  ] . # 

# -------------------------------------------------------------------------------------

