@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/Observation/height-avery-20250408> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "height-avery-20250408"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.apps.health/StructureDefinition/polaris-core-observation"^^xsd:anyURI ;
       fhir:link <https://fhir.apps.health/StructureDefinition/polaris-core-observation>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Height for Avery Linwood on April 8, 2025: 165 cm.</p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-observation-identifier"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "OBS-HEIGHT-AVERY-20250408" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "vital-signs" ] ;
       fhir:display [ fhir:v "Vital Signs" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:8302-2 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "8302-2" ] ;
       fhir:display [ fhir:v "Body height" ]
     ] ) ;
     fhir:text [ fhir:v "Body height" ]
  ] ; # 
  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:encounter [
     fhir:identifier [
       fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-encounter-identifier"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "enc-avery-20250408-01" ]
     ] ;
     fhir:display [ fhir:v "Annual physical with anemia workup" ]
  ] ; # 
  fhir:effective [
     a fhir:dateTime ;
     fhir:v "2025-04-08T09:10:00-06:00"^^xsd:dateTime
  ] ; # 
  fhir:performer ( [
     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:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "165"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "cm" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "cm" ]
  ] . # 

# -------------------------------------------------------------------------------------

