Snapshot 3: Connectathon 32 Base

This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.

Example Observation/10minute-apgar-score (Turtle)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

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

Example of a 10 minute Apgar score with individual score as components

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://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:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "10minute-apgar-score"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"10minute-apgar-score\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;10minute-apgar-score&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Survey <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#survey)</span></p><p><b>code</b>: 10 minute Apgar Score <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#9271-8; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#169922007 &quot;Apgar at 10 minutes&quot;)</span></p><p><b>subject</b>: <a name=\"newborn\"> </a></p><blockquote><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>Peter James Chalmers </b> male, DoB: 2016-05-18 ( id: 12345)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr></table></blockquote><p><b>effective</b>: 2016-05-18T22:33:22Z</p><p><b>performer</b>: <a href=\"practitioner-example.html\">Practitioner/example</a> &quot;Adam CAREFUL&quot;</p><p><b>value</b>: 10 {score}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {score} = '{score}')</span></p><blockquote><p><b>component</b></p><p><b>code</b>: Apgar color score <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#32401-2 &quot;10 minute Apgar Color&quot;; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#249227004)</span></p><p><b>value</b>: 2. Good color all over <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA6724-4 &quot;Good color all over&quot;; apgarcolor#2)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Apgar respiratory effort score <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#32402-0 &quot;10 minute Apgar Heart Rate&quot;; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#249223000 &quot;Apgar heart rate score&quot;)</span></p><p><b>value</b>: 2. At least 100 beats per minute <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA6718-6 &quot;At least 100 beats per minute&quot;; apgarheartrate#2)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Apgar response to stimulus score <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#32404-6 &quot;10 minute Apgar Reflex Irritability&quot;; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#249226008)</span></p><p><b>value</b>: 2. Grimace and pulling away, cough, or sneeze during suctioning <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA6721-0 &quot;Grimace and pulling away, cough, or sneeze during suctioning&quot;; apgarreflexirritability#2)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Apgar muscle tone score <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#32403-8 &quot;10 minute Apgar Muscle Tone&quot;; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#249225007)</span></p><p><b>value</b>: 2. Active motion <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA6715-2 &quot;Active motion &quot;; apgarmuscletone#2)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Apgar respiratory effort score <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#32405-3 &quot;10 minute Apgar Respiratory effort&quot;; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#249224006)</span></p><p><b>value</b>: 2. Good, strong cry; normal rate and effort of breathing <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA6727-7 &quot;Good, strong cry; normal rate and effort of breathing    &quot;; apgarrespiratoryeffort#2)</span></p></blockquote></div>"
  ]; #   	Using a contained patient for the purposes of this example Observation.  Typically the reference would be to an external resource    
  fhir:DomainResource.contained [
     a fhir:Patient;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "newborn" ];
     fhir:Patient.identifier [
       fhir:index 0;
       fhir:Identifier.system [ fhir:value "http://acmehealthcare/org/mrns" ];
       fhir:Identifier.value [ fhir:value "12345" ]
     ]; #      MRN assigned by ACME healthcare on     
     fhir:Patient.active [ fhir:value "true"^^xsd:boolean ];
     fhir:Patient.name [
       fhir:index 0;
       fhir:HumanName.family [ fhir:value "Chalmers" ];
       fhir:HumanName.given [
         fhir:value "Peter";
         fhir:index 0
       ], [
         fhir:value "James";
         fhir:index 1
       ]
     ]; #      Peter James Chalmers     
     fhir:Patient.gender [ fhir:value "male" ]; #      use FHIR code system for male \/ female     
     fhir:Patient.birthDate [
       fhir:value "2016-05-18"^^xsd:date;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-birthTime" ];
         fhir:Extension.valueDateTime [ fhir:value "2016-05-18T10:28:45Z"^^xsd:dateTime ]
       ]
     ]
  ]; # 
  fhir:Observation.status [ fhir:value "final"]; # 
  fhir:Observation.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ];
       fhir:Coding.code [ fhir:value "survey" ];
       fhir:Coding.display [ fhir:value "Survey" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Survey" ]
  ]; # 
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:9271-8;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "9271-8" ];
       fhir:Coding.display [ fhir:value "10 minute Apgar Score" ]
     ], [
       fhir:index 1;
       a sct:169922007;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "169922007" ];
       fhir:Coding.display [ fhir:value "Apgar at 10 minutes" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "10 minute Apgar Score" ]
  ]; # 
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "#newborn" ]
  ]; # 
  fhir:Observation.effectiveDateTime [ fhir:value "2016-05-18T22:33:22Z"^^xsd:dateTime]; # 
  fhir:Observation.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]
  ]; # 
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "{score}" ]
  ]; # 
  fhir:Observation.component [
     fhir:index 0;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:32401-2;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "32401-2" ];
         fhir:Coding.display [ fhir:value "10 minute Apgar Color" ]
       ], [
         fhir:index 1;
         a sct:249227004;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "249227004" ];
         fhir:Coding.display [ fhir:value "Apgar color score" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Apgar color score" ]
     ];
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:LA6724-4;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/itemWeight" ];
           fhir:Extension.valueDecimal [ fhir:value "2"^^xsd:decimal ]
         ]; #   this  extension  maps a numeric score to the code this may already be known and unecessary  
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA6724-4" ];
         fhir:Coding.display [ fhir:value "Good color all over" ]
       ], [
         fhir:index 1;
         fhir:Coding.system [ fhir:value "http://acme.ped/apgarcolor" ];
         fhir:Coding.code [ fhir:value "2" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "2. Good color all over" ]
     ]
  ], [
     fhir:index 1;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:32402-0;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "32402-0" ];
         fhir:Coding.display [ fhir:value "10 minute Apgar Heart Rate" ]
       ], [
         fhir:index 1;
         a sct:249223000;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "249223000" ];
         fhir:Coding.display [ fhir:value "Apgar heart rate score" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Apgar respiratory effort score" ]
     ];
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:LA6718-6;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/itemWeight" ];
           fhir:Extension.valueDecimal [ fhir:value "2"^^xsd:decimal ]
         ]; #   this  extension  maps a numeric score to the code this may already be known and unecessary  
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA6718-6" ];
         fhir:Coding.display [ fhir:value "At least 100 beats per minute" ]
       ], [
         fhir:index 1;
         fhir:Coding.system [ fhir:value "http://acme.ped/apgarheartrate" ];
         fhir:Coding.code [ fhir:value "2" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "2. At least 100 beats per minute" ]
     ]
  ], [
     fhir:index 2;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:32404-6;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "32404-6" ];
         fhir:Coding.display [ fhir:value "10 minute Apgar Reflex Irritability" ]
       ], [
         fhir:index 1;
         a sct:249226008;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "249226008" ];
         fhir:Coding.display [ fhir:value "Apgar response to stimulus score" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Apgar response to stimulus score" ]
     ];
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:LA6721-0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/itemWeight" ];
           fhir:Extension.valueDecimal [ fhir:value "2"^^xsd:decimal ]
         ]; #   this  extension  maps a numeric score to the code this may already be known and unecessary  
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA6721-0" ];
         fhir:Coding.display [ fhir:value "Grimace and pulling away, cough, or sneeze during suctioning" ]
       ], [
         fhir:index 1;
         fhir:Coding.system [ fhir:value "http://acme.ped/apgarreflexirritability" ];
         fhir:Coding.code [ fhir:value "2" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "2. Grimace and pulling away, cough, or sneeze during suctioning" ]
     ]
  ], [
     fhir:index 3;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:32403-8;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "32403-8" ];
         fhir:Coding.display [ fhir:value "10 minute Apgar Muscle Tone" ]
       ], [
         fhir:index 1;
         a sct:249225007;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "249225007" ];
         fhir:Coding.display [ fhir:value "Apgar muscle tone score" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Apgar muscle tone score" ]
     ];
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:LA6715-2;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/itemWeight" ];
           fhir:Extension.valueDecimal [ fhir:value "2"^^xsd:decimal ]
         ]; #   this  extension  maps a numeric score to the code this may already be known and unecessary  
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA6715-2" ];
         fhir:Coding.display [ fhir:value "Active motion " ]
       ], [
         fhir:index 1;
         fhir:Coding.system [ fhir:value "http://acme.ped/apgarmuscletone" ];
         fhir:Coding.code [ fhir:value "2" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "2. Active motion" ]
     ]
  ], [
     fhir:index 4;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:32405-3;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "32405-3" ];
         fhir:Coding.display [ fhir:value "10 minute Apgar Respiratory effort" ]
       ], [
         fhir:index 1;
         a sct:249224006;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "249224006" ];
         fhir:Coding.display [ fhir:value "Apgar respiratory effort score" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Apgar respiratory effort score" ]
     ];
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:LA6727-7;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/itemWeight" ];
           fhir:Extension.valueDecimal [ fhir:value "2"^^xsd:decimal ]
         ]; #   this  extension  maps a numeric score to the code this may already be known and unecessary  
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA6727-7" ];
         fhir:Coding.display [ fhir:value "Good, strong cry; normal rate and effort of breathing    " ]
       ], [
         fhir:index 1;
         fhir:Coding.system [ fhir:value "http://acme.ped/apgarrespiratoryeffort" ];
         fhir:Coding.code [ fhir:value "2" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "2. Good, strong cry; normal rate and effort of breathing" ]
     ]
  ]] . # 

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

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


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.