PackagesCanonicalsLogsProblems
    Packages
    hsg.asg-well@1.0.11
    http://ihis.sg/StructureDefinition/QuestionnaireResponse-put-asg-questionnaireresponse
description: null
package_name: hsg.asg-well
derivation: constraint
name: profile-QuestionnaireResponse-put-asg-questionnaireresponse
type: QuestionnaireResponse
elements:
  questionnaire: {index: 18}
  meta: {index: 0}
  encounter: {index: 35}
  item:
    elements:
      id: {index: 39}
      extension: {index: 40}
      modifierExtension: {index: 41}
      definition: {index: 42}
      text: {index: 43}
      answer:
        index: 44
        elements:
          id: {index: 45}
          extension: {index: 46}
          modifierExtension: {index: 47}
          value:
            choices: []
            index: 49
          item: {index: 50}
        extensions: {}
        required: [value]
      item: {index: 51}
    extensions: {}
    required: [answer]
  implicitRules: {index: 1}
  source: {index: 38}
  author: {index: 37}
  extension: {index: 5}
  contained: {index: 4}
  status:
    pattern: {type: Code, value: completed}
    index: 19
  language: {index: 2}
  identifier:
    index: 7
    elements:
      id: {index: 8}
      extension: {index: 9}
      use: {index: 10}
      type: {index: 11}
      system: {index: 12}
      value: {index: 13}
      period: {index: 14}
      assigner: {index: 15}
    extensions: {}
    required: [value, system]
  basedOn: {index: 16}
  authored:
    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: 36
  partOf: {index: 17}
  subject:
    index: 20
    elements:
      id: {index: 21}
      extension: {index: 22}
      reference: {index: 23}
      type:
        pattern: {type: Uri, value: Patient}
        index: 24
      identifier:
        index: 25
        elements:
          id: {index: 26}
          extension: {index: 27}
          use: {index: 28}
          type: {index: 29}
          system:
            pattern: {type: Uri, value: 'http://ihis.sg/identifier/nric'}
            index: 30
          value: {index: 31}
          period: {index: 32}
          assigner: {index: 33}
        extensions: {}
        required: [value, system]
      display: {index: 34}
    extensions: {}
    required: [identifier, type]
  modifierExtension: {index: 6}
  text: {index: 3}
package_version: 1.0.11
extensions: {}
class: profile
kind: resource
url: http://ihis.sg/StructureDefinition/QuestionnaireResponse-put-asg-questionnaireresponse
base: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
version: null
required: [authored, identifier, subject, questionnaire]