GAO Ballot Package

This page is part of the FHIR Specification (v1.1.0: STU 3 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

This is a frozen snapshot of the FHIR specification created for the purpose of balloting the GAO implementation Guide. It includes draft changes that may be part of the future DSTU 2.1 release but further change is expected. Readers should focus solely on the GAO implementation content, and FHIR DSTU 2 for other purposes.

Extension: Initial presumed answer for question

URL for this extension:

http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue

Status: draft. Extension maintained by: HL7

This is the value that should be pre-populated when rendering the questionnaire for user input.

Context of Use: Use on element: Questionnaire.item, Questionnaire.item.item

usage info: insert a list of places where this extension is used

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaURL = http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue
Initial presumed answer for question: This is the value that should be pre-populated when rendering the questionnaire for user input.
Use on element: Questionnaire.item, Questionnaire.item.item

doco Documentation for this format

Fulle Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1ExtensionURL = http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue
Initial presumed answer for question: This is the value that should be pre-populated when rendering the questionnaire for user input.
Use on element: Questionnaire.item, Questionnaire.item.item
... extension 0..0
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue"
... value[x] 1..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaValue of extension

doco Documentation for this format

XML Template

<!-- Initial presumed answer for question -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue" >
  <!-- from Element: extension -->
 <value[x]><!-- 1..1 boolean|integer|decimal|base64Binary|instant|
   string|uri|date|dateTime|time|code|oid|id|unsignedInt|positiveInt|markdown|
   Annotation|Attachment|Identifier|CodeableConcept|Coding|Quantity|Range|Period|
   Ratio|SampledData|Signature|HumanName|Address|ContactPoint|Timing|Reference|
   Meta Value of extension --></value[x]>
</extension>

JSON Template

{ // Initial presumed answer for question
  // from Element: extension
    "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue", // R! 
// value[x]: Value of extension. One of these 33:
    "valueBoolean" : <boolean> // R! Value of extension
    "valueInteger" : <integer>, // R! Value of extension
    "valueDecimal" : <decimal>, // R! Value of extension
    "valueBase64Binary" : "<base64Binary>", // R! Value of extension
    "valueInstant" : "<instant>", // R! Value of extension
    "valueString" : "<string>", // R! Value of extension
    "valueUri" : "<uri>", // R! Value of extension
    "valueDate" : "<date>", // R! Value of extension
    "valueDateTime" : "<dateTime>", // R! Value of extension
    "valueTime" : "<time>", // R! Value of extension
    "valueCode" : "<code>", // R! Value of extension
    "valueOid" : "<oid>", // R! Value of extension
    "valueId" : "<id>", // R! Value of extension
    "valueUnsignedInt" : "<unsignedInt>", // R! Value of extension
    "valuePositiveInt" : "<positiveInt>", // R! Value of extension
    "valueMarkdown" : "<markdown>", // R! Value of extension
    "valueAnnotation" : { Annotation }, // R! Value of extension
    "valueAttachment" : { Attachment }, // R! Value of extension
    "valueIdentifier" : { Identifier }, // R! Value of extension
    "valueCodeableConcept" : { CodeableConcept }, // R! Value of extension
    "valueCoding" : { Coding }, // R! Value of extension
    "valueQuantity" : { Quantity }, // R! Value of extension
    "valueRange" : { Range }, // R! Value of extension
    "valuePeriod" : { Period }, // R! Value of extension
    "valueRatio" : { Ratio }, // R! Value of extension
    "valueSampledData" : { SampledData }, // R! Value of extension
    "valueSignature" : { Signature }, // R! Value of extension
    "valueHumanName" : { HumanName }, // R! Value of extension
    "valueAddress" : { Address }, // R! Value of extension
    "valueContactPoint" : { ContactPoint }, // R! Value of extension
    "valueTiming" : { Timing }, // R! Value of extension
    "valueReference" : { Reference }, // R! Value of extension
    "valueMeta" : { Meta }, // R! Value of extension
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaURL = http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue
Initial presumed answer for question: This is the value that should be pre-populated when rendering the questionnaire for user input.
Use on element: Questionnaire.item, Questionnaire.item.item

doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1ExtensionURL = http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue
Initial presumed answer for question: This is the value that should be pre-populated when rendering the questionnaire for user input.
Use on element: Questionnaire.item, Questionnaire.item.item
... extension 0..0
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue"
... value[x] 1..1boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), MetaValue of extension

doco Documentation for this format

XML Template

<!-- Initial presumed answer for question -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue" >
  <!-- from Element: extension -->
 <value[x]><!-- 1..1 boolean|integer|decimal|base64Binary|instant|
   string|uri|date|dateTime|time|code|oid|id|unsignedInt|positiveInt|markdown|
   Annotation|Attachment|Identifier|CodeableConcept|Coding|Quantity|Range|Period|
   Ratio|SampledData|Signature|HumanName|Address|ContactPoint|Timing|Reference|
   Meta Value of extension --></value[x]>
</extension>

JSON Template

{ // Initial presumed answer for question
  // from Element: extension
    "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue", // R! 
// value[x]: Value of extension. One of these 33:
    "valueBoolean" : <boolean> // R! Value of extension
    "valueInteger" : <integer>, // R! Value of extension
    "valueDecimal" : <decimal>, // R! Value of extension
    "valueBase64Binary" : "<base64Binary>", // R! Value of extension
    "valueInstant" : "<instant>", // R! Value of extension
    "valueString" : "<string>", // R! Value of extension
    "valueUri" : "<uri>", // R! Value of extension
    "valueDate" : "<date>", // R! Value of extension
    "valueDateTime" : "<dateTime>", // R! Value of extension
    "valueTime" : "<time>", // R! Value of extension
    "valueCode" : "<code>", // R! Value of extension
    "valueOid" : "<oid>", // R! Value of extension
    "valueId" : "<id>", // R! Value of extension
    "valueUnsignedInt" : "<unsignedInt>", // R! Value of extension
    "valuePositiveInt" : "<positiveInt>", // R! Value of extension
    "valueMarkdown" : "<markdown>", // R! Value of extension
    "valueAnnotation" : { Annotation }, // R! Value of extension
    "valueAttachment" : { Attachment }, // R! Value of extension
    "valueIdentifier" : { Identifier }, // R! Value of extension
    "valueCodeableConcept" : { CodeableConcept }, // R! Value of extension
    "valueCoding" : { Coding }, // R! Value of extension
    "valueQuantity" : { Quantity }, // R! Value of extension
    "valueRange" : { Range }, // R! Value of extension
    "valuePeriod" : { Period }, // R! Value of extension
    "valueRatio" : { Ratio }, // R! Value of extension
    "valueSampledData" : { SampledData }, // R! Value of extension
    "valueSignature" : { Signature }, // R! Value of extension
    "valueHumanName" : { HumanName }, // R! Value of extension
    "valueAddress" : { Address }, // R! Value of extension
    "valueContactPoint" : { ContactPoint }, // R! Value of extension
    "valueTiming" : { Timing }, // R! Value of extension
    "valueReference" : { Reference }, // R! Value of extension
    "valueMeta" : { Meta }, // R! Value of extension
  }

 

Constraints

  • inv-7: Default values can't be specified for groups or display items (xpath: not(parent::*/f:type/@value=('group', 'display')))