2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). 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

Extension Must be <= this value - Definition

URL for this extension:

http://hl7.org/fhir/ExtensionDefinition/maxValue

Status: draft

The inclusive upper bound on the range of allowed values for the data element.

HL7 FHIR project

usage info: todo

Extension Content

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/maxValue
Must be <= this value: The inclusive upper bound on the range of allowed values for the data element.
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition
..value[x] 0..1date, dateTime, time, instant, decimal, integerMust be <= this value
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition

JSON Template

// extension added to existing objectdoco

  "http://hl7.org/fhir/ExtensionDefinition/maxValue" : { // Must be <= this value
// value[x]: Must be <= this value. One of these 6:
    "valueDate" : ["<date>"] //Must be <= this value
    "valueDateTime" : ["<dateTime>"] //Must be <= this value
    "valueTime" : ["<time>"] //Must be <= this value
    "valueInstant" : ["<instant>"] //Must be <= this value
    "valueDecimal" : [<decimal>] //Must be <= this value
    "valueInteger" : [<integer>] //Must be <= this value
  }

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/maxValue
Must be <= this value: The inclusive upper bound on the range of allowed values for the data element.
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition
..value[x] 0..1date, dateTime, time, instant, decimal, integerMust be <= this value
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition

JSON Template

to do