@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://twcore.mohw.gov.tw/ig/twcore/DocumentReference/doc-outpatient-example> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "doc-outpatient-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/DocumentReference-twcore"^^xsd:anyURI ;
       fhir:l <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/DocumentReference-twcore>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>門診紀錄</b></h3><p><b>狀態</b>：Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/codesystem-document-reference-status.html\">DocumentReferenceStatus</a>#current)</span></p><p><b>類型(type)</b>：門診紀錄(Outpatient Note) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://loinc.org\">LOINC</a>#34108-1)</span></p><p><b>病人</b>：<a href=\"Patient-pat-example.html\">Patient/pat-example</a> \"陳加玲\"</p><p><b>日期</b>：2024-01-23T12:34:56</p><p><b>紀錄者</b>：<a href=\"Practitioner-pra-dr-example.html\">Practitioner/pra-dr-example</a> \"王依昇\"</p><p><b>紀錄維護機構</b>：<a href=\"Organization-org-hosp-example.html\">Organization/org-hosp-example</a> \"衛生福利部臺北醫院\"</p><p><b>紀錄中使用的檔案</b>：</p><blockquote><p><b>檔案類型(type)</b>：application/pdf</p><p><b>檔案</b>：<a href=\"ConsultationReport.pdf\"> ConsultationReport.pdf</a></p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:34108-1 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "34108-1" ] ;
       fhir:display [ fhir:v "Outpatient Note" ]
     ] ) ;
     fhir:text [ fhir:v "門診紀錄" ]
  ] ; # 
  fhir:subject [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Patient/pat-example> ;
     fhir:reference [ fhir:v "Patient/pat-example" ]
  ] ; # 
  fhir:date [ fhir:v "2024-01-23T12:34:56Z"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Practitioner/pra-dr-example> ;
     fhir:reference [ fhir:v "Practitioner/pra-dr-example" ]
  ] ) ; # 
  fhir:custodian [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Organization/org-hosp-example> ;
     fhir:reference [ fhir:v "Organization/org-hosp-example" ]
  ] ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:contentType [ fhir:v "application/pdf" ] ;
       fhir:url [
         fhir:v "ConsultationReport.pdf"^^xsd:anyURI ;
         fhir:l fhir:ConsultationReport.pdf
       ] ;
       fhir:title [ fhir:v "Consultation Report" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

