@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://fhir.cognovis.de/praxis/DocumentReference/example-documentreference> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-documentreference"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference example-documentreference</b></p><a name=\"example-documentreference\"> </a><a name=\"hcexample-documentreference\"> </a><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 18842-5}\">Discharge summary</span></p><p><b>subject</b>: <a href=\"Patient-example-patient.html\">Thomas Weber (official) Male, DoB: 1975-06-15</a></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>application/pdf</td><td><a href=\"https://simplifier.net/resolve?scope=de.basisprofil.r4@1.6.0-ballot2&amp;canonical=https://example.org/entlassbrief-weber.pdf\">https://example.org/entlassbrief-weber.pdf</a></td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:18842-5 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "18842-5" ] ;
       fhir:display [ fhir:v "Discharge summary" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <https://fhir.cognovis.de/praxis/Patient/example-patient> ;
     fhir:reference [ fhir:v "Patient/example-patient" ]
  ] ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:contentType [ fhir:v "application/pdf" ] ;
       fhir:url [
         fhir:v "https://example.org/entlassbrief-weber.pdf"^^xsd:anyURI ;
         fhir:l <https://example.org/entlassbrief-weber.pdf>
       ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

