This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Example Index:
General Person Example | XML | JSON |
XML
General Person Example (id = "example")
<CarePlan2 xmlns="http://hl7.org/fhir"> <id value="example"/> <text> <status value="additional"/> <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div> </text> <contained> <Condition> <id value="p1"/> <subject> <reference value="Patient/example"/> <display value="Peter James Chalmers"/> </subject> <code> <text value="Obesity"/> </code> <status value="confirmed"/> </Condition> </contained> <contained> <Practitioner> <id value="pr1"/> <name> <family value="Dietician"/> <given value="Dorothy"/> </name> <practitionerRole> <specialty> <text value="Dietician"/> </specialty> </practitionerRole> </Practitioner> </contained> <patient> <reference value="Patient/example"/> <display value="Peter James Chalmers"/> </patient> <status value="active"/> <period> <end value="2013-01-01"/> </period> <concern> <reference value="#p1"/> <display value="obesity"/> </concern> <participant> <role> <text value="responsiblePerson"/> </role> <member> <reference value="Patient/example"/> <display value="Peter James Chalmers"/> </member> </participant> <participant> <role> <text value="adviser"/> </role> <member> <reference value="#pr1"/> <display value="Dorothy Dietitian"/> </member> </participant> <goal> <reference value="Goal/12345"/> <display value="Target weight is 80 kg."/> </goal> <activity> <reference value="ProcedureRequest/example"/> </activity> </CarePlan2>
JSON
General Person Example
{ "resourceType": "CarePlan2", "id": "example", "text": { "status": "additional", "div": "<div>!-- Snipped for Brevity --></div>" }, "contained": [ { "resourceType": "Condition", "id": "p1", "subject": { "reference": "Patient/example", "display": "Peter James Chalmers" }, "code": { "text": "Obesity" }, "status": "confirmed" }, { "resourceType": "Practitioner", "id": "pr1", "name": { "family": [ "Dietician" ], "given": [ "Dorothy" ] }, "practitionerRole": [ { "specialty": [ { "text": "Dietician" } ] } ] } ], "patient": { "reference": "Patient/example", "display": "Peter James Chalmers" }, "status": "active", "period": { "end": "2013-01-01" }, "concern": [ { "reference": "#p1", "display": "obesity" } ], "participant": [ { "role": { "text": "responsiblePerson" }, "member": { "reference": "Patient/example", "display": "Peter James Chalmers" } }, { "role": { "text": "adviser" }, "member": { "reference": "#pr1", "display": "Dorothy Dietitian" } } ], "goal": [ { "reference": "Goal/12345", "display": "Target weight is 80 kg." } ], "activity": [ { "reference": "ProcedureRequest/example" } ] }
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.