@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/secondsmoke> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "secondsmoke"] ; # 
  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 "social-history" ] ;
       fhir:display [ fhir:v "Social History" ]
     ] ) ;
     fhir:text [ fhir:v "Social History" ]
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:39243-1 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "39243-1" ] ;
       fhir:display [ fhir:v "Second hand smoke exposure CPHS" ]
     ] [
       a sct:102409004 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "102409004" ] ;
       fhir:display [ fhir:v "Second hand cigarette smoke (substance)" ]
     ] ) ;
     fhir:text [ fhir:v "Second hand smoke exposure" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/infant> ;
     fhir:reference [ fhir:v "Patient/infant" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2016-05-18T22:33:22Z"^^xsd:dateTime
  ] ; # 
  fhir:value [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a sct:373066001 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "373066001" ] ;
       fhir:display [ fhir:v "Yes (qualifier value)" ]
     ] ) ;
     fhir:text [ fhir:v "YES" ]
  ] . # 

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

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

