R6 Ballot (2nd Draft)

Publish-box (todo)

Example ObservationDefinition/example (Turtle)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example of observationdefinition

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:ObservationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "oo" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:publisher [ fhir:v "HL7 International / Orders and Observations"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/orders" ]
     ] )
  ] ) ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "laboratory" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:13980-8 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "13980-8" ] ;
       fhir:display [ fhir:v "Albumin/Protein.total in Serum or Plasma by Electrophoresis" ]
     ] )
  ] ; # 
  fhir:permittedDataType ( [ fhir:v "Quantity"] ) ; # 
  fhir:multipleResultsAllowed [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:method [
     fhir:coding ( [
       a sct:115341008 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "115341008" ] ;
       fhir:display [ fhir:v "Total measurement" ]
     ] )
  ] ; # 
  fhir:preferredReportName [ fhir:v "Serum albumin/​Protein total"] ; # 
  fhir:permittedUnit ( [
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "%" ] ;
     fhir:display [ fhir:v "%" ]
  ] ) ; # 
  fhir:qualifiedValue ( [
     fhir:context [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/referencerange-meaning"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "normal" ] ;
         fhir:display [ fhir:v "Normal Range" ]
       ] )
     ] ;
     fhir:rangeCategory [ fhir:v "reference" ] ;
     fhir:range [
       fhir:low [
         fhir:value [ fhir:v "50"^^xsd:decimal ]
       ]
     ]
  ] [
     fhir:context [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/referencerange-meaning"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "normal" ] ;
         fhir:display [ fhir:v "Normal Range" ]
       ] )
     ] ;
     fhir:rangeCategory [ fhir:v "critical" ] ;
     fhir:range [
       fhir:high [
         fhir:value [ fhir:v "40"^^xsd:decimal ]
       ]
     ]
  ] )] . # 

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.