PackagesCanonicalsLogsProblems
    Packages
    hsg.asg-well@1.0.11
    http://ihis.sg/StructureDefinition/QuestionnaireResponse-get-asg-phv
description: null
package_name: hsg.asg-well
derivation: constraint
name: outputProfile-QuestionnaireResponse-get-asg-phv
type: QuestionnaireResponse
elements:
  questionnaire: {short: n/a, index: 34}
  meta:
    short: n/a
    index: 1
    elements:
      id: {index: 2}
      extension: {index: 3}
      versionId: {short: n/a, index: 4}
      lastUpdated: {short: n/a, index: 5}
      source: {index: 6}
      profile: {index: 7}
      security: {index: 8}
      tag:
        short: n/a
        index: 9
        elements:
          id: {index: 10}
          extension: {index: 11}
          system:
            short: n/a
            pattern: {type: Uri, value: 'http://ihis.sg/coding/correlationid'}
            index: 12
          version: {index: 13}
          code: {short: n/a, index: 14}
          display: {index: 15}
          userSelected: {index: 16}
        extensions: {}
        required: [system, code]
    extensions: {}
    required: [lastUpdated, versionId, tag]
  encounter: {index: 51}
  item:
    short: n/a
    index: 55
    elements:
      id: {index: 56}
      extension: {index: 57}
      modifierExtension: {index: 58}
      definition: {index: 59}
      text: {index: 60}
      answer:
        short: n/a
        index: 61
        elements:
          id: {index: 62}
          extension: {index: 63}
          modifierExtension: {index: 64}
          value:
            short: n/a
            choices: [valueInteger, valueString]
            index: 66
          valueInteger: {type: integer, short: n/a, choiceOf: value, index: 67}
          valueString: {type: string, short: n/a, choiceOf: value, index: 68}
          item: {index: 69}
        extensions: {}
        required: [valueString, value, valueInteger]
      item: {index: 70}
    extensions: {}
    required: [answer]
  implicitRules: {index: 17}
  source: {index: 54}
  author: {index: 53}
  extension: {index: 21}
  contained: {index: 20}
  status:
    short: n/a
    pattern: {type: Code, value: completed}
    isModifierReason: n/a
    index: 35
  language: {index: 18}
  id: {short: n/a, index: 0}
  identifier:
    short: n/a
    index: 23
    elements:
      id: {index: 24}
      extension: {index: 25}
      use: {index: 26}
      type: {index: 27}
      system:
        short: n/a
        pattern: {type: Uri, value: 'http://ihis.sg/identifier/phv-identifier-value'}
        index: 28
      value: {short: n/a, index: 29}
      period: {index: 30}
      assigner: {index: 31}
    extensions: {}
    required: [value, system]
  basedOn: {index: 32}
  authored:
    short: n/a
    constraint:
      questionnaireresponse-authored-date-format: {human: 'authored date must be in format: yyyy-mm-ddThh:mm:ss+08:00.', severity: error, expression: '$this.toString().matches(''^([1-9][0-9][0-9][0-9])(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])))T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\+08:00)$'')'}
      questionnaireresponse-authored-date-not-future: {human: authored date must not be greater than current date, severity: error, expression: '$this <= (now() + 5 minutes).toString().substring(0,25).toDateTime()'}
    index: 52
  partOf: {index: 33}
  subject:
    short: n/a
    index: 36
    elements:
      id: {index: 37}
      extension: {index: 38}
      reference: {short: n/a, index: 39}
      type:
        pattern: {type: Uri, value: Patient}
        index: 40
      identifier:
        index: 41
        elements:
          id: {index: 42}
          extension: {index: 43}
          use: {index: 44}
          type: {index: 45}
          system:
            pattern: {type: Uri, value: 'http://ihis.sg/identifier/nric'}
            index: 46
          value: {index: 47}
          period: {index: 48}
          assigner: {index: 49}
        extensions: {}
        required: [value, system]
      display: {index: 50}
    extensions: {}
    required: [reference]
  modifierExtension: {index: 22}
  text: {index: 19}
package_version: 1.0.11
extensions: {}
class: profile
kind: resource
url: http://ihis.sg/StructureDefinition/QuestionnaireResponse-get-asg-phv
base: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
version: null
required: [authored, id, identifier, subject, questionnaire, meta]