FHIRcast logo

FHIRcast
3.0.0-ballot - STU 3 Ballot International flag

FHIRcast, published by HL7 International / Infrastructure And Messaging. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhircast-docs/ and changes regularly. See the Directory of published versions

Extensions

The specification is not prescriptive about support for extensions. However, to support extensions, the specification reserves the name extension and will never define an element with that name, allowing implementations to use it to provide custom behavior and information. The value of an extension element SHALL be a pre-coordinated JSON object. For example, an extension on a notification could look like this:

{
 "context": [{
   "key": "patient",
   "resource": {
    "resourceType": "Patient",
    "id": "ewUbXT9RWEbSj5wPEdgRaBw3"
   }
  },
  {
   "key": "extension",
   "data": {
    "user-timezone": "+1:00"
   }
  }
 ]
}