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
This profile defines extensions that can be used to describe the additional characteristics that must be held by a data element.
Data elements can be defined in several places. The extensions defined within this profile may apply to most or all of these:
Note: Implementations are not required to reject invalid data. However, transmitting data that violates one of these extensions would be considered invalid against the resource that declared the extension.
The extensions provided here fall into several categories:
Extensions: | |
minLength | At least this many characters : The minimum number of characters that must be present in the simple data type to be considered a "valid" instance. |
regex | Regular expression pattern : A regular expression that defines the syntax for the data element to be considered valid. |
entryFormat | User prompt for format : A syntax intended for display to the user to guide their input (i.e. a human readable version of a regular expression). For example "nnn-nnn-nnn". |
minValue | Must be >= this value : The inclusive lower bound on the range of allowed values for the data element. |
maxValue | Must be <= this value : The inclusive upper bound on the range of allowed values for the data element. |
maxDecimalPlaces | Maximum digits after decimal : Identifies the maximum number of decimal places that may be specified for the data element. |
mimeType | Type of attachment : Identifies the kind(s) of attachmemt allowed to be sent for an element. |
maxSize | Max size in MB : For attachment answers, indicates the maximum size an attachment can be. |