@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.ch/ig/ch-emr/DocumentReference/UC2-DocumentReference-Patientenverfuegung> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "UC2-DocumentReference-Patientenverfuegung"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-documentreference-advance-directive"^^xsd:anyURI ;
       fhir:link <http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-documentreference-advance-directive>
     ] )
  ] ; # 
  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 UC2-DocumentReference-Patientenverfuegung</b></p><a name=\"UC2-DocumentReference-Patientenverfuegung\"> </a><a name=\"hcUC2-DocumentReference-Patientenverfuegung\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ch-emr-documentreference-advance-directive.html\">CH Emergency Record Advance Directive DocumentReference</a></p></div><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 75320-2}\">Advance directive</span></p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 1264561001}\">Living will (record artifact)</span></p><p><b>subject</b>: <a href=\"Patient-UC2-Patient-WalterSchmid.html\">Walter Schmid (official) Male, DoB: 1947-04-12 ( urn:oid:2.16.756.5.30.1.123.100.1.1.1#InsuranceCardNumber#80756012222222222222)</a></p><p><b>date</b>: 2022-04-20 11:00:00+0200</p><p><b>author</b>: <a href=\"Patient-UC2-Patient-WalterSchmid.html\">Walter Schmid (official) Male, DoB: 1947-04-12 ( urn:oid:2.16.756.5.30.1.123.100.1.1.1#InsuranceCardNumber#80756012222222222222)</a></p><p><b>custodian</b>: <a href=\"Organization-UC2-Organization-Hausarztpraxis.html\">Organization Hausarztpraxis UC2</a></p><p><b>description</b>: Original der Patientenverfügung liegt bei der Hausarztpraxis und kann dort angefordert werden.</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Title</b></td></tr><tr><td style=\"display: none\">*</td><td>German (Switzerland)</td><td>Patientenverfügung — bei Hausarztpraxis hinterlegt</td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:75320-2 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "75320-2" ]
     ] )
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       a sct:1264561001 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "http://snomed.info/sct/2011000195101" ] ;
       fhir:code [ fhir:v "1264561001" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:link <http://fhir.ch/ig/ch-emr/Patient/UC2-Patient-WalterSchmid> ;
     fhir:reference [ fhir:v "Patient/UC2-Patient-WalterSchmid" ]
  ] ; # 
  fhir:date [ fhir:v "2022-04-20T11:00:00+02:00"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:link <http://fhir.ch/ig/ch-emr/Patient/UC2-Patient-WalterSchmid> ;
     fhir:reference [ fhir:v "Patient/UC2-Patient-WalterSchmid" ]
  ] ) ; # 
  fhir:custodian [
     fhir:link <http://fhir.ch/ig/ch-emr/Organization/UC2-Organization-Hausarztpraxis> ;
     fhir:reference [ fhir:v "Organization/UC2-Organization-Hausarztpraxis" ]
  ] ; # 
  fhir:description [ fhir:v "Original der Patientenverfügung liegt bei der Hausarztpraxis und kann dort angefordert werden."] ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:language [ fhir:v "de-CH" ] ;
       fhir:title [ fhir:v "Patientenverfügung — bei Hausarztpraxis hinterlegt" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

