Extension | Medplum
On this page
Base StructureDefinition for Extension Type: Optional Extension Element - found in all resources.
Schema
Elements
| Name | Required | Type | Description |
|---|---|---|---|
| id | string | Unique id for inter-element referencing | |
| Details | |||
| Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. | |||
| extension | Extension[] | Additional content defined by implementations | |
| Details | |||
| May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. | |||
| There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. | |||
| url | ✓ | string | identifies the meaning of the extension |
| Details | |||
| Source of the definition for the extension code - a logical name or a URL. | |||
| The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. | |||
| value[x] | base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference<>, SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta | Value of extension | |
| Details | |||
| Value of extension - must be one of a constrained set of the data types (see Extensibility for a list). |