Example RelatedPerson/peter (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
RelatedPerson Peter Chalmers
@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 "peter"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table>\n <tbody>\n <tr>\n <td>Name</td>\n <td>Peter Chalmers</td>\n </tr>\n <tr>\n <td>Address</td>\n <td>534 Erewhon, Pleasantville, Vic, 3999</td>\n </tr>\n <tr>\n <td>Contacts</td>\n <td>Work: (03) 5555 6473</td>\n </tr>\n </tbody>\n </table>\n </div>"
]; #
fhir:RelatedPerson.patient [
fhir:Reference.reference [ fhir:value "Patient/animal" ]
]; #
fhir:RelatedPerson.relationship [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0131" ];
fhir:Coding.code [ fhir:value "C" ]
]
]; #
fhir:RelatedPerson.name [
fhir:index 0;
fhir:HumanName.use [ fhir:value "official" ];
fhir:HumanName.family [ fhir:value "Chalmers" ];
fhir:HumanName.given [
fhir:value "Peter";
fhir:index 0
], [
fhir:value "James";
fhir:index 1
]
]; #
fhir:RelatedPerson.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "phone" ];
fhir:ContactPoint.value [ fhir:value "(03) 5555 6473" ];
fhir:ContactPoint.use [ fhir:value "work" ]
]; #
fhir:RelatedPerson.gender [ fhir:value "male"]; #
fhir:RelatedPerson.address [
fhir:index 0;
fhir:Address.use [ fhir:value "home" ];
fhir:Address.line [
fhir:value "534 Erewhon St";
fhir:index 0
];
fhir:Address.city [ fhir:value "PleasantVille" ];
fhir:Address.state [ fhir:value "Vic" ];
fhir:Address.postalCode [ fhir:value "3999" ]
]; #
fhir:RelatedPerson.photo [
fhir:index 0;
fhir:Attachment.contentType [ fhir:value "image/jpeg" ];
fhir:Attachment.url [ fhir:value "Binary/f012" ]
]; #
fhir:RelatedPerson.period [
fhir:Period.start [ fhir:value "2012-03-11"^^xsd:date ]
]] . #
# - 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.