This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2
Example Index:
General Person Example | XML | JSON |
Grahame's person resource | XML | JSON |
Patient Portal Example | XML | JSON |
Provider Directory Example | XML | JSON |
XML
General Person Example (id = "example")
<Person xmlns="http://hl7.org/fhir"> <id value="example"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div> </text><!-- MRN assigned by ACME healthcare on 6-May 2001 --> <identifier> <use value="usual"/> <label value="MRN"/> <system value="urn:oid:1.2.36.146.595.217.0.1"/> <value value="12345"/> <period> <start value="2001-05-06"/> </period> <assigner> <display value="Acme Healthcare"/> </assigner> </identifier><!-- Peter James Chalmers, but called "Jim" --> <name> <use value="official"/> <family value="Chalmers"/> <given value="Peter"/> <given value="James"/> </name> <name> <use value="usual"/> <given value="Jim"/> </name> <telecom> <use value="home"/> </telecom><!-- home communication details aren't known --> <telecom> <system value="phone"/> <value value="(03) 5555 6473"/> <use value="work"/> </telecom><!-- use FHIR code system for male / female --> <gender value="male"/> <birthDate value="1974-12-25"/> <address> <use value="home"/> <line value="534 Erewhon St"/> <city value="PleasantVille"/> <state value="Vic"/> <postalCode value="3999"/> </address> <active value="true"/> <link> <target> <reference value="RelatedPerson/peter"/> <display value="Peter Chalmers"/> </target> </link> <link> <target> <reference value="Patient/example"/> <display value="Peter Chalmers"/> </target> </link> </Person>
JSON
General Person Example
{ "resourceType": "Person", "id": "example", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "identifier": [ { "use": "usual", "label": "MRN", "system": "urn:oid:1.2.36.146.595.217.0.1", "value": "12345", "period": { "start": "2001-05-06" }, "assigner": { "display": "Acme Healthcare" } } ], "name": [ { "use": "official", "family": [ "Chalmers" ], "given": [ "Peter", "James" ] }, { "use": "usual", "given": [ "Jim" ] } ], "telecom": [ { "use": "home" }, { "system": "phone", "value": "(03) 5555 6473", "use": "work" } ], "gender": "male", "birthDate": "1974-12-25", "address": [ { "use": "home", "line": [ "534 Erewhon St" ], "city": "PleasantVille", "state": "Vic", "postalCode": "3999" } ], "active": true, "link": [ { "target": { "reference": "RelatedPerson/peter", "display": "Peter Chalmers" } }, { "target": { "reference": "Patient/example", "display": "Peter Chalmers" } } ] }
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.