@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.apps.health/DocumentReference/anemia-consult-20250408> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "anemia-consult-20250408"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.apps.health/StructureDefinition/polaris-documentreference"^^xsd:anyURI ;
       fhir:link <https://fhir.apps.health/StructureDefinition/polaris-documentreference>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Consult note summarizing Avery Linwood's anemia diagnosis and treatment plan, authored by Dr. Emil Navarro on April 8, 2025.</div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-documentreference-identifier"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "DOCREF-AVERY-CONSULT-20250408" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:11506-3 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "11506-3" ] ;
       fhir:display [ fhir:v "Progress note" ]
     ] ) ;
     fhir:text [ fhir:v "Consult Note" ]
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       a loinc:28570-0 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "28570-0" ] ;
       fhir:display [ fhir:v "Procedure Note" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:identifier [
       fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-patient-identifier"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "1234567890" ]
     ] ;
     fhir:display [ fhir:v "Avery Linwood" ]
  ] ; # 
  fhir:date [ fhir:v "2025-04-08T11:00:00-06:00"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:identifier [
       fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-practitioner-identifier"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "NAVARRO-PRAC-001" ]
     ] ;
     fhir:display [ fhir:v "Dr. Emil Navarro" ]
  ] ) ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:contentType [ fhir:v "application/pdf" ] ;
       fhir:language [ fhir:v "en" ] ;
       fhir:data [ fhir:v "JVBERi0xLjUKJYCBgoMKMSAwIG9iago8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyhlbi1VUykgL1N0cnVjdFRyZWVSb290IDMgMCBSL01hcmtJbmZvPDwvTWFya2VkL3RydWU+Pj4KZW5kb2JqCjIgMCBvYmoKPDwvVHlwZS9QYWdlcy9Db3VudC8xL0tpZHNbIDQgMCBSXSA+PgplbmRvYmoKMyAwIG9iago8PC9QYXJlbnRUcmVlPDw="^^xsd:base64Binary ] ;
       fhir:size [ fhir:v "194"^^xsd:nonNegativeInteger ] ;
       fhir:title [ fhir:v "Anemia Consult Summary - April 8, 2025" ] ;
       fhir:creation [ fhir:v "2025-04-08T11:00:00-06:00"^^xsd:dateTime ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

