PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.sdc.r4b@3.0.0
    http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-question-library
description: An example library of questions showing how questions can be compiled into a library for use by modular questionnaires
package_name: hl7.fhir.uv.sdc.r4b
derivation: specialization
name: SDCQuestionLibrary
abstract: true
type: Demographics
elements:
  dob:
    minValueDate: '1900-01-01'
    _maxValueDate:
      extension:
      - url: http://hl7.org/fhir/StructureDefinition/cqf-expression
        valueExpression: {language: text/fhirpath, expression: now() as date + 1 day}
    type: date
    label: What is this person's date of birth?
    index: 0
  sex:
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/administrative-gender'}
    label: What is this person's gender?
    index: 1
  address:
    type: Element
    label: What is this person's current mailing address?
    index: 2
    elements:
      street: {type: string, label: Street address, index: 3}
      city: {type: string, label: City/Town, index: 4}
      state:
        type: code
        label: State
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/sdc/ValueSet/sdc-question-library-states'}
        index: 5
      postalCode: {type: string, label: Postal Code, index: 6}
    required: [postalCode]
  name:
    type: Element
    label: What is the person's official name?
    index: 7
    elements:
      prefix: {type: string, label: Prefix, index: 8}
      first: {type: string, label: First, maxLength: 100, index: 9}
      last: {type: string, label: Last, maxLength: 100, index: 10}
package_version: 3.0.0
class: logical
kind: logical
url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-question-library
base: http://hl7.org/fhir/StructureDefinition/Resource
version: 3.0.0