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

Extension No more than this many characters - Definition

URL for this extension:

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

Status: draft

The maximum number of characters that must be present in the simple data type to be considered a "valid" instance.

HL7 FHIR project

usage info: todo

Extension Content

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/maxLength
No more than this many characters: The maximum number of characters that must be present in the simple data type to be considered a "valid" instance.
Use on element: DataElement, Questionnaire.group.question
..valueInteger 0..1integerNo more than this many characters
Use on element: DataElement, Questionnaire.group.question

XML Template

<!-- No more than this many characters -->doco

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

JSON Template

// extension added to existing objectdoco

  "http://hl7.org/fhir/ExtensionDefinition/maxLength" : { // No more than this many characters
    "valueInteger" : [<integer>] //No more than this many characters
  }

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/maxLength
No more than this many characters: The maximum number of characters that must be present in the simple data type to be considered a "valid" instance.
Use on element: DataElement, Questionnaire.group.question
..valueInteger 0..1integerNo more than this many characters
Use on element: DataElement, Questionnaire.group.question

XML Template

<!-- No more than this many characters -->doco

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

JSON Template

to do