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 -------------------------------------------------------------------
<http://hl7.org/fhir/Group/102> a fhir:Group;
[a fhir:Group;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "102"];
fhir:Resource.id [ fhir:value "102"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "additional" ];
fhir:Narrative.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:Group.type [ fhir:value "person"];
fhir:Group.actual [ fhir:value "true"^^xsd:boolean];
]; #
fhir:Group.type [ fhir:value "person"]; #
fhir:Group.membership [ fhir:value "enumerated"]; #
fhir:Group.member [
fhir:index 0;
fhir:Group.member.entity [
fhir:link <http://hl7.org/fhir/Patient/pat1>;
fhir:Reference.reference [ fhir:value "Patient/pat1" ]
];
fhir:Group.member.period [
fhir:Period.start [ fhir:value "2014-10-08"^^xsd:date ]
]
], [
fhir:index 1;
fhir:Group.member.entity [
fhir:link <http://hl7.org/fhir/Patient/pat2>;
fhir:Reference.reference [ fhir:value "Patient/pat2" ]
];
fhir:Group.member.period [
fhir:Period.start [ fhir:value "2015-04-02"^^xsd:date ]
];
fhir:Group.member.inactive [ fhir:value "true"^^xsd:boolean ]
], [
fhir:index 2;
fhir:Group.member.entity [
fhir:link <http://hl7.org/fhir/Patient/pat3>;
fhir:Reference.reference [ fhir:value "Patient/pat3" ]
];
fhir:Group.member.period [
fhir:Period.start [ fhir:value "2015-08-06"^^xsd:date ]
]
], [
fhir:index 3;
fhir:Group.member.entity [
fhir:link <http://hl7.org/fhir/Patient/pat4>;
fhir:Reference.reference [ fhir:value "Patient/pat4" ]
];
fhir:Group.member.period [
fhir:Period.start [ fhir:value "2015-08-06"^^xsd:date ]
]
] .
<http://hl7.org/fhir/Patient/pat1> a fhir:Patient .
<http://hl7.org/fhir/Patient/pat2> a fhir:Patient .
<http://hl7.org/fhir/Patient/pat3> a fhir:Patient .
<http://hl7.org/fhir/Patient/pat4> a fhir:Patient .
]] . #
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Group/102.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/Group/102.ttl> .
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
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.