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 -------------------------------------------------------------------
[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" ]
]; # Dutch BSN identification system
fhir:RelatedPerson.patient [
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"]] . #
# - ontology header ------------------------------------------------------------
[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.