General Group Example, Member Based
@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 -------------------------------------------------------------------
[a fhir:Group ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "102"] ; #
fhir:text [
fhir:status [ fhir:v "additional" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Selected Patients</p>\n <ul>\n <li>Patient Donald DUCK @ Acme Healthcare, Inc. MR = 654321</li>\n <li>Patient Donald D DUCK @ Acme Healthcare, Inc. MR = 123456</li>\n <li>Patient Simon Notsowell @ Acme Healthcare, Inc. MR = 123457, DECEASED</li>\n <li>Patient Sandy Notsowell @ Acme Healthcare, Inc. MR = 123458, DECEASED</li>\n </ul>\n </div>"
] ; #
fhir:type [ fhir:v "person"] ; #
fhir:membership [ fhir:v "enumerated"] ; #
fhir:member ( [
fhir:entity [
fhir:reference [ fhir:v "Patient/pat1" ]
] ;
fhir:period [
fhir:start [ fhir:v "2014-10-08"^^xsd:date ]
]
] [
fhir:entity [
fhir:reference [ fhir:v "Patient/pat2" ]
] ;
fhir:period [
fhir:start [ fhir:v "2015-04-02"^^xsd:date ]
] ;
fhir:inactive [ fhir:v "true"^^xsd:boolean ]
] [
fhir:entity [
fhir:reference [ fhir:v "Patient/pat3" ]
] ;
fhir:period [
fhir:start [ fhir:v "2015-08-06"^^xsd:date ]
]
] [
fhir:entity [
fhir:reference [ fhir:v "Patient/pat4" ]
] ;
fhir:period [
fhir:start [ fhir:v "2015-08-06"^^xsd:date ]
]
] )] . #
# -------------------------------------------------------------------------------------
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.