Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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

Observation-example-bgpanel.ttl

Example Observation/bgpanel (Turtle)

Orders and Observations Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Encounter , Patient , Practitioner , RelatedPerson

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

An example of a simple blood typing panel.

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .

@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Observation/bgpanel> a fhir:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "bgpanel"];
  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>: bgpanel</p><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span>(Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})</span></p><p><b>code</b>: Blood Group Panel <span>(Details : {LOINC code '34532-2' = 'Blood type and Indirect antibody screen panel - Blood', given as ' Blood type and Indirect antibody screen panel - Blood'})</span></p><p><b>subject</b>: <a>Patient/infant</a></p><p><b>effective</b>: 11/03/2018 4:07:54 PM</p><p><b>hasMember</b>: </p><ul><li><a>Observation/bloodgroup</a></li><li><a>Observation/rhstatus</a></li></ul></div>"
  ];
  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 "laboratory" ];
       fhir:Coding.display [ fhir:value "Laboratory" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Laboratory" ]
  ];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:34532-2;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "34532-2" ];
       fhir:Coding.display [ fhir:value " Blood type and Indirect antibody screen panel - Blood" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Blood Group Panel" ]
  ];
  fhir:Observation.subject [
     fhir:link <http://hl7.org/fhir/Patient/infant>;
     fhir:Reference.reference [ fhir:value "Patient/infant" ]
  ];
  fhir:Observation.effectiveDateTime [ fhir:value "2018-03-11T16:07:54+00:00"^^xsd:dateTime];
  fhir:Observation.hasMember [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Observation/bloodgroup>;
     fhir:Reference.reference [ fhir:value "Observation/bloodgroup" ]
  ], [
     fhir:index 1;
     fhir:link <http://hl7.org/fhir/Observation/rhstatus>;
     fhir:Reference.reference [ fhir:value "Observation/rhstatus" ]
  ] .

<http://hl7.org/fhir/Patient/infant> a fhir:Patient .

<http://hl7.org/fhir/Observation/bloodgroup> a fhir:Observation .

<http://hl7.org/fhir/Observation/rhstatus> a fhir:Observation .

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

<http://hl7.org/fhir/Observation/bgpanel.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Observation/bgpanel.ttl> .

[a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "bgpanel"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"bgpanel\"> </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;bgpanel&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#laboratory)</span></p><p><b>code</b>: Blood Group Panel <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#34532-2 &quot; Blood type and Indirect antibody screen panel - Blood&quot;)</span></p><p><b>subject</b>: <a href=\"broken-link.html\">Patient/infant</a></p><p><b>effective</b>: 2018-03-11T16:07:54Z</p><p><b>hasMember</b>: </p><ul><li><a href=\"observation-example-bloodgroup.html\">Observation/bloodgroup</a></li><li><a href=\"observation-example-rhstatus.html\">Observation/rhstatus</a></li></ul></div>"
  ] ; # 
  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 "laboratory" ] ;
       fhir:display [ fhir:v "Laboratory" ]
     ] ) ;
     fhir:text [ fhir:v "Laboratory" ]
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:34532-2 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "34532-2" ] ;
       fhir:display [ fhir:v " Blood type and Indirect antibody screen panel - Blood" ]
     ] ) ;
     fhir:text [ fhir:v "Blood Group Panel" ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/infant" ]
  ] ; # 
  fhir:effective [ fhir:v "2018-03-11T16:07:54+00:00"^^xsd:dateTime] ; # 
  fhir:hasMember ( [
     fhir:reference [ fhir:v "Observation/bloodgroup" ]
  ] [
     fhir:reference [ fhir:v "Observation/rhstatus" ]
  ] )] . # 


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


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.