Example
RelatedPerson/f001
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Sarah
Abels
@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/RelatedPerson/f001> a fhir:RelatedPerson;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "f001"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n Sarah Abels\n </div>"
];
fhir:RelatedPerson.identifier [
fhir:index 0;
fhir:Identifier.use [ fhir:value "official" ];
fhir:Identifier.type [
fhir:CodeableConcept.text [ fhir:value "BSN" ]
];
fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.2.4.6.3" ]
];
fhir:RelatedPerson.patient [
fhir:link <http://hl7.org/fhir/Patient/f001>;
fhir:Reference.reference [ fhir:value "Patient/f001" ]
];
fhir:RelatedPerson.relationship [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
fhir:Coding.code [ fhir:value "SIGOTHR" ]
]
];
fhir:RelatedPerson.name [
fhir:index 0;
fhir:HumanName.use [ fhir:value "usual" ];
fhir:HumanName.family [ fhir:value "Abels" ];
fhir:HumanName.given [
fhir:value "Sarah";
fhir:index 0
]
];
fhir:RelatedPerson.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "phone" ];
fhir:ContactPoint.value [ fhir:value "0690383372" ];
fhir:ContactPoint.use [ fhir:value "mobile" ]
], [
fhir:index 1;
fhir:ContactPoint.system [ fhir:value "email" ];
fhir:ContactPoint.value [ fhir:value "s.abels@kpn.nl" ];
fhir:ContactPoint.use [ fhir:value "home" ]
];
fhir:RelatedPerson.gender [ fhir:value "female"] .
<http://hl7.org/fhir/Patient/f001> a fhir:Patient .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/RelatedPerson/f001.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/RelatedPerson/f001.ttl> .
[a fhir:RelatedPerson ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "f001"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n Sarah Abels\n </div>"
] ; #
fhir:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:type [
fhir:text [ fhir:v "BSN" ]
] ;
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.2.4.6.3"^^xsd:anyURI ]
] ) ; # Dutch BSN identification system
fhir:patient [
fhir:reference [ fhir:v "Patient/f001" ]
] ; #
fhir:relationship ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "SIGOTHR" ]
] )
] ) ; #
fhir:name ( [
fhir:use [ fhir:v "usual" ] ;
fhir:family [ fhir:v "Abels" ] ;
fhir:given ( [ fhir:v "Sarah" ] )
] ) ; #
fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0690383372" ] ;
fhir:use [ fhir:v "mobile" ]
] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "s.abels@kpn.nl" ] ;
fhir:use [ fhir:v "home" ]
] ) ; #
fhir:gender [ fhir:v "female"]] . #
# -------------------------------------------------------------------------------------
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.