resourceType
Core element of the FHIR resource model, JSON serialisation.
Definition
In JSON serialisation FHIR has no named root element; resourceType fills that role by declaring the type. It is required on every JSON resource, including nested ones (contained, Bundle.entry.resource). In XML the root element name carries the same information and this property does not appear.
Origin
Defined in the HL7 FHIR specification, « JSON Representation of Resources » section (resourceType property), published by HL7 International.
Example in context
{ "resourceType": "Observation", "status": "final" }
Related terms
- Narrative (FHIR) — the text.div element carried by domain resources.