@prefix fhir: <http://hl7.org/fhir/> .
@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/FamilyMemberHistory/father> a fhir:FamilyMemberHistory ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "father"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Father died of a heart attack aged 74</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:value [ fhir:v "12345" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ] ;
     fhir:display [ fhir:v "Peter Patient" ]
  ] ; # 
  fhir:date [ fhir:v "2011-03-18"^^xsd:date] ; # 
  fhir:recorder [
     fhir:l <http://hl7.org/fhir/Practitioner/f201> ;
     fhir:reference [ fhir:v "Practitioner/f201" ]
  ] ; # 
  fhir:relationship [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-RoleCode>
       ] ;
       fhir:code [ fhir:v "FTH" ] ;
       fhir:display [ fhir:v "father" ]
     ] )
  ] ; # 
  fhir:sex [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/administrative-gender"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/administrative-gender>
       ] ;
       fhir:code [ fhir:v "male" ] ;
       fhir:display [ fhir:v "Male" ]
     ] )
  ] ; # 
  fhir:condition ( [
     fhir:code [
       fhir:coding ( [
         a sct:22298006 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "22298006" ] ;
         fhir:display [ fhir:v "Myocardial Infarction" ]
       ] ) ;
       fhir:text [ fhir:v "Heart Attack" ]
     ] ;
     fhir:contributedToDeath [ fhir:v true ] ;
     fhir:onset [
       a fhir:Age ;
       fhir:value [ fhir:v "74"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "yr" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "a" ]
     ] ;
     fhir:note ( [
       fhir:text [ fhir:v "Was fishing at the time. At least he went doing someting he loved." ]
     ] )
  ] ) . # 

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

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

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

