@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://fhir.org/fhir/us/anonymized-eicr/Observation/observation-calculated-age-anon> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "observation-calculated-age-anon"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.org/fhir/us/anonymized-eicr/StructureDefinition/eicr-anon-caculated-age"^^xsd:anyURI ;
       fhir:link <http://fhir.org/fhir/us/anonymized-eicr/StructureDefinition/eicr-anon-caculated-age>
     ] )
  ] ; # 
  fhir:text [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "masked"
       ]
     ] ) ;
     fhir:status [ fhir:v "empty" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>MASKED</p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:29553-5 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "29553-5" ] ;
       fhir:display [ fhir:v "Age calculated" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://fhir.org/fhir/us/anonymized-eicr/Patient/patient-anon> ;
     fhir:reference [ fhir:v "Patient/patient-anon" ]
  ] ; # 
  fhir:effective [
     a fhir:dateTime ;
     fhir:v "2024-06-02T22:13:23Z"^^xsd:dateTime
  ] ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "35"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "year" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "a" ]
  ] . # 

# -------------------------------------------------------------------------------------

