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 Maximum digits after decimal - Definition

URL for this extension:

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

Status: draft

Identifies the maximum number of decimal places that may be specified for the data element.

HL7 FHIR project

usage info: todo

Extension Content

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/maxDecimalPlaces
Maximum digits after decimal: Identifies the maximum number of decimal places that may be specified for the data element.
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition
..valueInteger 0..1integerMaximum digits after decimal
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition

XML Template

<!-- Maximum digits after decimal -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/ExtensionDefinition/maxDecimalPlaces" >
 <!-- from Element: extension -->
 <valueInteger value="[integer]"/>
</extension>

JSON Template

// extension added to existing objectdoco

  "http://hl7.org/fhir/ExtensionDefinition/maxDecimalPlaces" : { // Maximum digits after decimal
    "valueInteger" : [<integer>] //Maximum digits after decimal
  }

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/maxDecimalPlaces
Maximum digits after decimal: Identifies the maximum number of decimal places that may be specified for the data element.
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition
..valueInteger 0..1integerMaximum digits after decimal
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition

XML Template

<!-- Maximum digits after decimal -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/ExtensionDefinition/maxDecimalPlaces" >
 <!-- from Element: extension -->
 <valueInteger value="[integer]"/>
</extension>

JSON Template

to do