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 Max size in MB - Definition

URL for this extension:

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

Status: draft

For attachment answers, indicates the maximum size an attachment can be.

HL7 FHIR project

usage info: todo

Extension Content

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/maxSize
Max size in MB: For attachment answers, indicates the maximum size an attachment can be.
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition
..valueDecimal 0..1decimalMax size in MB
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition

XML Template

<!-- Max size in MB -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/ExtensionDefinition/maxSize" >
 <!-- from Element: extension -->
 <valueDecimal value="[decimal]"/>
</extension>

JSON Template

// extension added to existing objectdoco

  "http://hl7.org/fhir/ExtensionDefinition/maxSize" : { // Max size in MB
    "valueDecimal" : [<decimal>] //Max size in MB
  }

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/maxSize
Max size in MB: For attachment answers, indicates the maximum size an attachment can be.
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition
..valueDecimal 0..1decimalMax size in MB
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition

XML Template

<!-- Max size in MB -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/ExtensionDefinition/maxSize" >
 <!-- from Element: extension -->
 <valueDecimal value="[decimal]"/>
</extension>

JSON Template

to do