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: R4B R4 R3 R2

1.19.0 Element

The base definition for all elements contained inside a resource. All elements, whether defined as a Data Type or as part of a resource structure, have this base content:

1.19.0.1 Content

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Element ElementBase for all elements
... id 0..1idxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations

XML Template

<Element xmlns="http://hl7.org/fhir" id="xml:id (or equivalent in JSON) (id)"> doco
 <extension><!-- 0..* Extension Additional Content defined by implementations --></extension>
</Element>

JSON Template


{doco
  "resourceType" : "Element",
  // from Element: extension
  "id" : "<id>", // xml:id (or equivalent in JSON)
  (Extensions - see JSON page)
}

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Element ElementBase for all elements
... id 0..1idxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations

XML Template

<Element xmlns="http://hl7.org/fhir" id="xml:id (or equivalent in JSON) (id)"> doco
 <extension><!-- 0..* Extension Additional Content defined by implementations --></extension>
</Element>

JSON Template

{doco
  "resourceType" : "Element",
  // from Element: extension
  "id" : "<id>", // xml:id (or equivalent in JSON)
  (Extensions - see JSON page)
}