@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 -------------------------------------------------------------------

<http://canshare.co.nz/fhir/Observation/ExObservationHeight> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExObservationHeight"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://canshare.co.nz/fhir/StructureDefinition/an-height"^^xsd:anyURI ;
       fhir:link <http://canshare.co.nz/fhir/StructureDefinition/an-height>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Height 180 cm</div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://canshare.co.nz/identifiers"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "height" ]
  ] ) ; # 
  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 ( [
       fhir:system [ fhir:v "http://snomed.info/sct/21000210109"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "1153637007" ]
     ] [
       a loinc:8302-2 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "8302-2" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://canshare.co.nz/fhir/Patient/exPatient> ;
     fhir:reference [ fhir:v "Patient/exPatient" ]
  ] ; # 
  fhir:effective [
     a fhir:dateTime ;
     fhir:v "2020-01-01"^^xsd:date
  ] ; # 
  fhir:performer ( [
     fhir:link <http://canshare.co.nz/fhir/Practitioner/exPractitioner> ;
     fhir:reference [ fhir:v "Practitioner/exPractitioner" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "180"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "cm" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "cm" ]
  ] . # 

# -------------------------------------------------------------------------------------

