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

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

<http://hl7.org/fhir/Observation/rhstatus> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "rhstatus"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/observation-category>
       ] ;
       fhir:code [ fhir:v "laboratory" ] ;
       fhir:display [ fhir:v "Laboratory" ]
     ] ) ;
     fhir:text [ fhir:v "Laboratory" ]
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:88027-8 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "88027-8" ] ;
       fhir:display [ fhir:v "Rh group Ag [Type] on Red Blood Cells" ]
     ] ) ;
     fhir:text [ fhir:v "Rh Type" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/infant> ;
     fhir:reference [ fhir:v "Patient/infant" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2018-03-11T16:07:54+00:00"^^xsd:dateTime
  ] ; # 
  fhir:value [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a sct:165747007 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "165747007" ] ;
       fhir:display [ fhir:v "Rh positive" ]
     ] ) ;
     fhir:text [ fhir:v "Rh(D) positive (finding)" ]
  ] . # 

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

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

