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 At least this many characters - Definition

URL for this extension:

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

Status: draft

The minimum 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/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.
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition
..valueInteger 0..1integerAt least this many characters
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition

XML Template

<!-- At least this many characters -->doco

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

JSON Template

// extension added to existing objectdoco

  "http://hl7.org/fhir/ExtensionDefinition/minLength" : { // At least this many characters
    "valueInteger" : [<integer>] //At least this many characters
  }

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/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.
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition
..valueInteger 0..1integerAt least this many characters
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition

XML Template

<!-- At least this many characters -->doco

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

JSON Template

to do