R6 Ballot (2nd Draft)

Publish-box (todo)

Example List/genetic (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

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

Simple genetic family member history

@prefix fhir: <http://hl7.org/fhir/> .
@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 -------------------------------------------------------------------

[a fhir:List ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "genetic"] ; # 
  fhir:contained ( [
     a fhir:FamilyMemberHistory ;
     fhir:id [ fhir:v "1" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"^^xsd:anyURI ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "FTH" ] ;
             fhir:display [ fhir:v "father" ]
           ] )
         ]
       ] [
         fhir:url [ fhir:v "reference"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:Reference ;
           fhir:reference [ fhir:v "#2" ] ;
           fhir:display [ fhir:v "maternal grandfather" ]
         ]
       ] )
     ] ) ;
     fhir:status [ fhir:v "completed" ] ;
     fhir:patient [
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Peter Patient" ]
     ] ;
     fhir:name [ fhir:v "Dave" ] ;
     fhir:relationship [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "FTH" ] ;
         fhir:display [ fhir:v "father" ]
       ] )
     ]
  ] [
     a fhir:FamilyMemberHistory ;
     fhir:id [ fhir:v "2" ] ;
     fhir:status [ fhir:v "completed" ] ;
     fhir:patient [
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Peter Patient" ]
     ] ;
     fhir:relationship [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "MGRFTH" ] ;
         fhir:display [ fhir:v "maternal grandfather" ]
       ] )
     ]
  ] [
     a fhir:FamilyMemberHistory ;
     fhir:id [ fhir:v "3" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"^^xsd:anyURI ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "MTH" ] ;
             fhir:display [ fhir:v "mother" ]
           ] )
         ]
       ] [
         fhir:url [ fhir:v "reference"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:Reference ;
           fhir:reference [ fhir:v "#2" ] ;
           fhir:display [ fhir:v "maternal grandfather" ]
         ]
       ] )
     ] ) ;
     fhir:status [ fhir:v "completed" ] ;
     fhir:patient [
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Peter Patient" ]
     ] ;
     fhir:relationship [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "MTH" ] ;
         fhir:display [ fhir:v "mother" ]
       ] )
     ]
  ] [
     a fhir:FamilyMemberHistory ;
     fhir:id [ fhir:v "4" ] ;
     fhir:status [ fhir:v "completed" ] ;
     fhir:patient [
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Peter Patient" ]
     ] ;
     fhir:relationship [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PGRMTH" ] ;
         fhir:display [ fhir:v "paternal grandmother" ]
       ] )
     ]
  ] [
     a fhir:FamilyMemberHistory ;
     fhir:id [ fhir:v "5" ] ;
     fhir:status [ fhir:v "completed" ] ;
     fhir:patient [
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Peter Patient" ]
     ] ;
     fhir:name [ fhir:v "Eve" ] ;
     fhir:relationship [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PAUNT" ] ;
         fhir:display [ fhir:v "paternal aunt" ]
       ] )
     ] #  relationship>\n        <coding>\n          <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/v3-RoleCode\"\/>\n          <code value=\"38048003\"\/>\n          <display value=\"maternal uncle\"\/>\n        <\/coding>\n      <\/relationship 
  ] [
     a fhir:FamilyMemberHistory ;
     fhir:id [ fhir:v "6" ] ;
     fhir:status [ fhir:v "completed" ] ;
     fhir:patient [
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Peter Patient" ]
     ] ;
     fhir:relationship [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "MUNCLE" ] ;
         fhir:display [ fhir:v "maternal uncle" ]
       ] )
     ]
  ] [
     a fhir:FamilyMemberHistory ;
     fhir:id [ fhir:v "7" ] ;
     fhir:status [ fhir:v "completed" ] ;
     fhir:patient [
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Peter Patient" ]
     ] ;
     fhir:relationship [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "NSIS" ] ;
         fhir:display [ fhir:v "natural sister" ]
       ] )
     ]
  ] [
     a fhir:FamilyMemberHistory ;
     fhir:id [ fhir:v "8" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"^^xsd:anyURI ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "MTH" ] ;
             fhir:display [ fhir:v "mother" ]
           ] )
         ]
       ] [
         fhir:url [ fhir:v "reference"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:Reference ;
           fhir:reference [ fhir:v "#2" ] ;
           fhir:display [ fhir:v "maternal grandfather" ]
         ]
       ] )
     ] ) ;
     fhir:status [ fhir:v "completed" ] ;
     fhir:patient [
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Peter Patient" ]
     ] ;
     fhir:name [ fhir:v "Alice" ] ;
     fhir:relationship [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "MCOUSN" ] ;
         fhir:display [ fhir:v "maternal cousin" ]
       ] )
     ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:mode [ fhir:v "snapshot"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:8670-2 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "8670-2" ] ;
       fhir:display [ fhir:v "History of family member diseases" ]
     ] )
  ] ; # 
  fhir:subject ( [
     fhir:reference [ fhir:v "Patient/example" ] ;
     fhir:display [ fhir:v "Peter Patient" ]
  ] ) ; # 
  fhir:entry ( [
     fhir:item [
       fhir:reference [ fhir:v "#1" ]
     ]
  ] [
     fhir:item [
       fhir:reference [ fhir:v "#2" ]
     ]
  ] [
     fhir:item [
       fhir:reference [ fhir:v "#3" ]
     ]
  ] [
     fhir:item [
       fhir:reference [ fhir:v "#4" ]
     ]
  ] [
     fhir:item [
       fhir:reference [ fhir:v "#5" ]
     ]
  ] [
     fhir:item [
       fhir:reference [ fhir:v "#6" ]
     ]
  ] [
     fhir:item [
       fhir:reference [ fhir:v "#7" ]
     ]
  ] [
     fhir:item [
       fhir:reference [ fhir:v "#8" ]
     ]
  ] [
     fhir:item [
       fhir:reference [ fhir:v "Condition/family-history" ] ;
       fhir:display [ fhir:v "Family history of cancer of colon" ]
     ]
  ] )] . # 

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


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.