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 Content Examples Detailed Descriptions Mappings Profiles 6.3.10 Resource Basic - Examples Example Index: How 'basic' can be used for future resources - in this case referral XML JSON How 'Basic' can be used for essoteric resources - in this case, a UML class model XML JSON A resource that uses all narrative features for testing rendering applications XML JSON 6.3.10.1 Referral XML How 'basic' can be used for future resources - in this case referral (id = "referral") Raw XML </Basic> JSON How 'basic' can be used for future resources - in this case referral Raw JSON ( Canonical ) { "resourceType": "Basic", "id": "referral", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "extension": [ { "url": "http://example.org/do-not-use/fhir-extensions/referral#requestingPractitioner", "valueReference": { "reference": "Practitioner/f201", "display": "Dokter Bronsig" } }, { "url": "http://example.org/do-not-use/fhir-extensions/referral#notes", "valueString": "The patient had fever peaks over the last couple of days. He is worried about these peaks." }, { "url": "http://example.org/do-not-use/fhir-extensions/referral#fulfillingEncounter", "valueReference": { "reference": "Encounter/f201" } } ], "modifierExtension": [ { "url": "http://example.org/do-not-use/fhir-extensions/referral#referredForService", "valueCodeableConcept": { "coding": [ { "system": "http://snomed.info/sct", "code": "11429006", "display": "Consultation" } ] } }, { "url": "http://example.org/do-not-use/fhir-extensions/referral#targetDate", "valuePeriod": { "start": "2013-04-01", "end": "2013-04-15" } }, { "url": "http://example.org/do-not-use/fhir-extensions/referral#status", "valueCode": "complete" } ], "code": { "coding": [ { "system": "http://hl7.org/fhir/basic-resource-type", "code": "REFERRAL" } ] }, "subject": { "reference": "Patient/f201", "display": "Roel" } } 6.3.10.2 ClassModel XML How 'Basic' can be used for essoteric resources - in this case, a UML class model (id = "classModel") Raw XML </Basic> JSON How 'Basic' can be used for essoteric resources - in this case, a UML class model Raw JSON ( Canonical ) { "resourceType": "Basic", "id": "classModel", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "extension": [ { "extension": [ { "url": "name", "valueString": "Class1" }, { "extension": [ { "url": "name", "valueString": "attribute1" }, { "url": "minOccurs", "valueInteger": 1 }, { "url": "maxOccurs", "valueCode": "*" } ], "url": "attribute" }, { "extension": [ { "url": "name", "valueString": "attribute2" }, { "url": "minOccurs", "valueInteger": 0 }, { "url": "maxOccurs", "valueInteger": 1 } ], "url": "attribute" } ], "url": "http://example.org/do-not-use/fhir-extensions/UMLclass" } ], "code": { "coding": [ { "system": "http://example.org/do-not-use/fhir-codes#resourceTypes", "code": "UMLCLASSMODEL" } ] } } 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. © HL7.org 2011+. FHIR DSTU (v0.4.0-4902) generated on Fri, Mar 27, 2015 00:17+1100. Links: What's a DSTU? | Version History | Specification Map | Compare to DSTU1 | | Propose a change