R6 Ballot (2nd Draft)

Publish-box (todo)

Example Group/Family (Turtle)

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

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

Example of a Family

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

#   
#One common use of Group is to track the members of a family. Families 
#can act collectively e.g. jointly monitor their health. Of course,
#the actions are likely actually performed by a single individual, but the tracking
#system only considers the family's joint accountability
#
#Note that it's not usual to refer to the members of a family that are of interest
#to am e.g. public health system as 'Patients', but the resource type *Patient* is the appropriate 
#resource to use in this case. This should not be understood as taking some sort of position about
#the use of the word 'Patient', but a reflection on the limitations of a Typing system as 
#compared to real world language usage
# 

[a fhir:Group ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Family"] ; # 
  fhir:type [ fhir:v "person"] ; # 
  fhir:membership [ fhir:v "enumerated"] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "http://hl7.org/fhir/ValueSet/group-code"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "family" ]
     ] )
  ] ; # 
  fhir:member ( [
     fhir:entity [
       fhir:reference [ fhir:v "Patient/xcda" ]
     ] ;
     fhir:involvement ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "FTH" ]
       ] )
     ] )
  ] [
     fhir:entity [
       fhir:reference [ fhir:v "Patient/pat3" ]
     ] ;
     fhir:involvement ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "SON" ]
       ] )
     ] )
  ] [
     fhir:entity [
       fhir:reference [ fhir:v "Patient/pat4" ]
     ] ;
     fhir:involvement ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "DAUINLAW" ]
       ] )
     ] )
  ] [
     fhir:entity [
       fhir:reference [ fhir:v "Patient/pat1" ]
     ] ;
     fhir:involvement ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://hl7.org/fhir/group-involvement"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "pet" ]
       ] )
     ] )
  ] )] . # 

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


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.