Example
Patient/ihe-pcd
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Example
from
IHE-PCD
example
@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/Patient/ihe-pcd> a fhir:Patient;
[a fhir:Patient;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "ihe-pcd"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Albert Brooks, Id: AB60001</div>"
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>ALBERT BROOKS </b> (no stated gender), DoB Unknown ( Internal Identifier: AB60001)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr></table></div>"
];
fhir:Patient.identifier [
fhir:index 0;
fhir:Identifier.type [
fhir:CodeableConcept.text [ fhir:value "Internal Identifier" ]
];
fhir:Identifier.value [ fhir:value "AB60001" ]
];
fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
fhir:Patient.name [
fhir:index 0;
fhir:HumanName.family [ fhir:value "BROOKS" ];
fhir:HumanName.given [
fhir:value "ALBERT";
fhir:index 0
]
] .
]] .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Patient/ihe-pcd.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/Patient/ihe-pcd.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.