@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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://fhir.hl7.nl/zorgviewer/DocumentReference/22aa9e3e-f72f-4f76-97c7-0f66c8f691f5> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "22aa9e3e-f72f-4f76-97c7-0f66c8f691f5"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://nictiz.nl/fhir/StructureDefinition/IHE.MHD.Minimal.DocumentReference"^^xsd:anyURI ;
       fhir:l <http://nictiz.nl/fhir/StructureDefinition/IHE.MHD.Minimal.DocumentReference>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3>DocumentReference resource:</h3><ul><li><p><strong>Title</strong> 'test.pdf'</p></li><li><p><strong>EntryUUID:</strong> 'urn:uuid:22aa9e3e-f72f-4f76-97c7-0f66c8f691f5'</p></li><li><p><strong>Document location:</strong> 'Binary/22aa9e3e-f72f-4f76-97c7-0f66c8f691f5'</p></li><li><p><strong>Mimetype:</strong> 'application/pdf'</p></li><li><p><strong>Availability status:</strong> 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved'</p></li><li><p><strong>Document type:</strong> '2.16.840.1.113883.6.1'</p></li><li><p><strong>Document class:</strong> '2.16.840.1.113883.6.1'</p></li><li><p><strong>Creation date/time:</strong> '5/11/2022 10:00:00 PM'</p></li><li><p><strong>Document size (in bytes):</strong> '85244'</p></li><li><p><strong>Document language:</strong> 'Dutch (Netherlands)'</p></li><li><p><strong>Document practice setting:</strong> '2.16.840.1.113883.2.4.3.124.8.40.1'</p></li><li><p><strong>Document source healthcare facility type:</strong> '2.16.840.1.113883.2.4.15.1060'</p></li><li><p><strong>Document confidentiality:</strong> '2.16.840.1.113883.5.25'</p></li><li><p><strong>Document format:</strong> '1.3.6.1.4.1.19376.1.2.3'</p></li><li><p><strong>Document service start time:</strong> '5/11/2022 10:00:00 PM'</p></li><li><p><strong>Document service stop time:</strong> '5/11/2022 10:00:00 PM'</p></li><li><table><thead><tr><th>Author</th></tr></thead><tbody><tr><td/></tr></tbody></table></li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:masterIdentifier [
     fhir:system [
       fhir:v "http://hl7.org/fhir/StructureDefinition/uuid"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/uuid>
     ] ;
     fhir:value [ fhir:v "urn:uuid:22aa9e3e-f72f-4f76-97c7-0f66c8f691f5" ]
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [
       fhir:v "http://hl7.org/fhir/StructureDefinition/uuid"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/uuid>
     ] ;
     fhir:value [ fhir:v "urn:uuid:22aa9e3e-f72f-4f76-97c7-0f66c8f691f5" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:51852-2 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "51852-2" ] ;
       fhir:display [ fhir:v "2.16.840.1.113883.6.1" ]
     ] ) ;
     fhir:text [ fhir:v "2.16.840.1.113883.6.1" ]
  ] ; # 
  fhir:class [
     fhir:coding ( [
       a loinc:51852-2 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "51852-2" ] ;
       fhir:display [ fhir:v "2.16.840.1.113883.6.1" ]
     ] ) ;
     fhir:text [ fhir:v "2.16.840.1.113883.6.1" ]
  ] ; # 
  fhir:indexed [ fhir:v "2022-05-11T22:00:00+00:00"^^xsd:dateTime] ; # 
  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 "R" ] ;
       fhir:display [ fhir:v "2.16.840.1.113883.5.25" ]
     ] ) ;
     fhir:text [ fhir:v "2.16.840.1.113883.5.25" ]
  ] ) ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:contentType [ fhir:v "application/pdf" ] ;
       fhir:language [ fhir:v "nl-NL" ] ;
       fhir:url [
         fhir:v "Binary/22aa9e3e-f72f-4f76-97c7-0f66c8f691f5"^^xsd:anyURI ;
         fhir:l <http://fhir.hl7.nl/zorgviewer/Binary/22aa9e3e-f72f-4f76-97c7-0f66c8f691f5>
       ] ;
       fhir:size [ fhir:v "85244"^^xsd:nonNegativeInteger ] ;
       fhir:title [ fhir:v "test.pdf" ]
     ] ;
     fhir:format [
       fhir:system [
         fhir:v "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem"^^xsd:anyURI ;
         fhir:l <http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem>
       ] ;
       fhir:code [ fhir:v "urn:ihe:iti:xds:2017:mimeTypeSufficient" ] ;
       fhir:display [ fhir:v "1.3.6.1.4.1.19376.1.2.3" ]
     ]
  ] ) ; # 
  fhir:context [
     fhir:period [
       fhir:start [ fhir:v "2022-05-11T22:00:00+00:00"^^xsd:dateTime ] ;
       fhir:end [ fhir:v "2022-05-11T22:00:00+00:00"^^xsd:dateTime ]
     ] ;
     fhir:facilityType [
       fhir:coding ( [
         a sct:V4 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "V4" ] ;
         fhir:display [ fhir:v "2.16.840.1.113883.2.4.15.1060" ]
       ] ) ;
       fhir:text [ fhir:v "2.16.840.1.113883.2.4.15.1060" ]
     ] ;
     fhir:practiceSetting [
       fhir:coding ( [
         a sct:394802001 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "394802001" ] ;
         fhir:display [ fhir:v "2.16.840.1.113883.2.4.3.124.8.40.1" ]
       ] ) ;
       fhir:text [ fhir:v "2.16.840.1.113883.2.4.3.124.8.40.1" ]
     ]
  ] . # 

# -------------------------------------------------------------------------------------

