Example
Practitioner/xcda1
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
2nd
CDA
Example
Author
@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/Practitioner/xcda1> a fhir:Practitioner;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "xcda1"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource "xcda1" </p></div><p><b>identifier</b>: id: D234123 (OFFICIAL)</p><p><b>name</b>: Sherry Dopplemeyer </p><p><b>telecom</b>: <a href=\"mailto:john.doe@healthcare.example.org\">john.doe@healthcare.example.org</a></p></div>"
];
fhir:Practitioner.identifier [
fhir:index 0;
fhir:Identifier.use [ fhir:value "official" ];
fhir:Identifier.system [ fhir:value "http://healthcare.example.org/identifiers/staff" ];
fhir:Identifier.value [ fhir:value "D234123" ]
];
fhir:Practitioner.name [
fhir:index 0;
fhir:HumanName.family [ fhir:value "Dopplemeyer" ];
fhir:HumanName.given [
fhir:value "Sherry";
fhir:index 0
]
];
fhir:Practitioner.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "email" ];
fhir:ContactPoint.value [ fhir:value "john.doe@healthcare.example.org" ]
] .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Practitioner/xcda1.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/Practitioner/xcda1.ttl> .
[a fhir:Practitioner ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "xcda1"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Practitioner</b><a name=\"xcda1\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Practitioner "xcda1" </p></div><p><b>identifier</b>: id: D234123 (use: OFFICIAL)</p><p><b>name</b>: Sherry Dopplemeyer </p><p><b>telecom</b>: <a href=\"mailto:john.doe@healthcare.example.org\">john.doe@healthcare.example.org</a></p></div>"
] ; #
fhir:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:system [ fhir:v "http://healthcare.example.org/identifiers/staff"^^xsd:anyURI ] ;
fhir:value [ fhir:v "D234123" ]
] ) ; #
fhir:name ( [
fhir:family [ fhir:v "Dopplemeyer" ] ;
fhir:given ( [ fhir:v "Sherry" ] )
] ) ; #
fhir:telecom ( [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "john.doe@healthcare.example.org" ]
] )] . #
# -------------------------------------------------------------------------------------
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.