Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Observation-example-20minute-apgar-score.ttl

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 20 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 -------------------------------------------------------------------

<http://hl7.org/fhir/Observation/20minute-apgar-score> a fhir:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "20minute-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 with Details</b></p><p><b>id</b>: 20minute-apgar-score</p><p><b>contained</b>: </p><p><b>status</b>: final</p><p><b>category</b>: Survey <span>(Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'survey' = 'Survey', given as 'Survey'})</span></p><p><b>code</b>: 20 minute Apgar Score <span>(Details : {SNOMED CT code '443849008' = 'Apgar score at 20 minutes', given as 'Apgar score at 20 minutes'})</span></p><p><b>subject</b>: id: newborn; 12345; active; Peter James Chalmers ; gender: male; birthDate: 2016-05-18</p><p><b>effective</b>: 18 May 2016, 10:33:22 pm</p><p><b>performer</b>: <a>Practitioner/example</a></p><p><b>value</b>: 10 {score}<span> (Details: UCUM code {score} = '{score}')</span></p><blockquote><p><b>component</b></p><p><b>code</b>: Apgar color score <span>(Details : {SNOMED CT code '249227004' = 'Apgar color score', given as 'Apgar color score'})</span></p><p><b>value</b>: 2. Good color all over <span>(Details : {LOINC code 'LA6724-4' = 'Good color all over', given as 'Good color all over'}; {http://acme.ped/apgarcolor code '2' = '2)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Apgar respiratory effort score <span>(Details : {SNOMED CT code '249223000' = 'Apgar heart rate score', given as 'Apgar heart rate score'})</span></p><p><b>value</b>: 2. At least 100 beats per minute <span>(Details : {LOINC code 'LA6718-6' = 'At least 100 beats per minute', given as 'At least 100 beats per minute'}; {http://acme.ped/apgarheartrate code '2' = '2)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Apgar response to stimulus score <span>(Details : {SNOMED CT code '249226008' = 'Apgar response to stimulus score', given as 'Apgar response to stimulus score'})</span></p><p><b>value</b>: 2. Grimace and pulling away, cough, or sneeze during suctioning <span>(Details : {LOINC code 'LA6721-0' = 'Grimace and pulling away, cough, or sneeze during suctioning', given as 'Grimace and pulling away, cough, or sneeze during suctioning'}; {http://acme.ped/apgarreflexirritability code '2' = '2)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Apgar muscle tone score <span>(Details : {SNOMED CT code '249225007' = 'Apgar muscle tone score', given as 'Apgar muscle tone score'})</span></p><p><b>value</b>: 2. Active motion <span>(Details : {LOINC code 'LA6715-2' = 'Active motion', given as 'Active motion '}; {http://acme.ped/apgarmuscletone code '2' = '2)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Apgar respiratory effort score <span>(Details : {SNOMED CT code '249224006' = 'Apgar respiratory effort score', given as 'Apgar respiratory effort score'})</span></p><p><b>value</b>: 2. Good, strong cry; normal rate and effort of breathing <span>(Details : {LOINC code 'LA6727-7' = 'Good, strong cry; normal rate and effort of breathing', given as 'Good, strong cry; normal rate and effort of breathing    '}; {http://acme.ped/apgarrespiratoryeffort code '2' = '2)</span></p></blockquote></div>"
  ];
  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" ]
     ];
     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
       ]
     ];
     fhir:Patient.gender [ fhir:value "male" ];
     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 sct:443849008;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "443849008" ];
       fhir:Coding.display [ fhir:value "Apgar score at 20 minutes" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "20 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:link <http://hl7.org/fhir/Practitioner/example>;
     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 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/ordinalValue" ];
           fhir:Extension.valueDecimal [ fhir:value "2"^^xsd:decimal ]
         ];
         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 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/ordinalValue" ];
           fhir:Extension.valueDecimal [ fhir:value "2"^^xsd:decimal ]
         ];
         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 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/ordinalValue" ];
           fhir:Extension.valueDecimal [ fhir:value "2"^^xsd:decimal ]
         ];
         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 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/ordinalValue" ];
           fhir:Extension.valueDecimal [ fhir:value "2"^^xsd:decimal ]
         ];
         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 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/ordinalValue" ];
           fhir:Extension.valueDecimal [ fhir:value "2"^^xsd:decimal ]
         ];
         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" ]
     ]
  ] .

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .

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

<http://hl7.org/fhir/Observation/20minute-apgar-score.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Observation/20minute-apgar-score.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.