General Person 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 -------------------------------------------------------------------
[a fhir:Person;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example"]; #
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 James <b>Chalmers</b> ("Jim")</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>Home: unknown. Work: (03) 5555 6473</td>\n </tr>\n <tr>\n <td>Id</td>\n <td>MRN: 12345 (Acme Healthcare)</td>\n </tr>\n </tbody>\n </table>\n </div>"
]; #
fhir:Person.identifier [
fhir:index 0;
fhir:Identifier.use [ fhir:value "usual" ];
fhir:Identifier.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
fhir:Coding.code [ fhir:value "MR" ]
]
];
fhir:Identifier.system [ fhir:value "urn:oid:1.2.36.146.595.217.0.1" ];
fhir:Identifier.value [ fhir:value "12345" ];
fhir:Identifier.period [
fhir:Period.start [ fhir:value "2001-05-06"^^xsd:date ]
];
fhir:Identifier.assigner [
fhir:Reference.display [ fhir:value "Acme Healthcare" ]
]
]; # MRN assigned by ACME healthcare on 6-May 2001
fhir:Person.active [ fhir:value "true"^^xsd:boolean]; #
fhir:Person.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:index 1;
fhir:HumanName.use [ fhir:value "usual" ];
fhir:HumanName.given [
fhir:value "Jim";
fhir:index 0
]
]; # Peter James Chalmers, but called "Jim"
fhir:Person.telecom [
fhir:index 0;
fhir:ContactPoint.use [ fhir:value "home" ]
], [
fhir:index 1;
fhir:ContactPoint.system [ fhir:value "phone" ];
fhir:ContactPoint.value [ fhir:value "(03) 5555 6473" ];
fhir:ContactPoint.use [ fhir:value "work" ]
], [
fhir:index 2;
fhir:ContactPoint.system [ fhir:value "email" ];
fhir:ContactPoint.value [ fhir:value "Jim@example.org" ];
fhir:ContactPoint.use [ fhir:value "home" ]
]; # home communication details aren't known
fhir:Person.gender [ fhir:value "male"]; # use FHIR code system for male / female
fhir:Person.birthDate [ fhir:value "1974-12-25"^^xsd:date]; #
fhir:Person.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:Person.link [
fhir:index 0;
fhir:Person.link.target [
fhir:Reference.reference [ fhir:value "RelatedPerson/peter" ];
fhir:Reference.display [ fhir:value "Peter Chalmers" ]
]
], [
fhir:index 1;
fhir:Person.link.target [
fhir:Reference.reference [ fhir:value "Patient/example" ];
fhir:Reference.display [ fhir:value "Peter Chalmers" ]
]
]] . #
# - 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.