PackagesCanonicalsLogsProblems
    Packages
    hsg.asg-well@1.0.11
    http://ihis.sg/StructureDefinition/Observation-get-asg-cst
description: null
package_name: hsg.asg-well
derivation: constraint
name: outputProfile-Observation-get-asg-cst
type: Observation
elements:
  category: {index: 34}
  referenceRange: {index: 76}
  hasMember: {index: 77}
  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]
  derivedFrom:
    short: n/a
    index: 78
    extensions: {}
    elements:
      extension: {index: 79}
      reference: {short: n/a, index: 80}
      type:
        pattern: {type: Uri, value: QuestionnaireResponse}
        index: 81
      identifier:
        index: 82
        extensions: {}
        elements:
          extension: {index: 83}
          use: {index: 84}
          type: {index: 85}
          system:
            short: n/a
            pattern: {type: Uri, value: 'http://ihis.sg/identifier/cst-identifier-value'}
            index: 86
          value: {short: n/a, index: 87}
          period: {index: 88}
          assigner: {index: 89}
        required: [system]
      display: {index: 90}
    required: [reference]
  interpretation: {index: 70}
  encounter: {index: 60}
  method: {index: 73}
  specimen: {index: 74}
  value:
    choices: []
    index: 68
  implicitRules: {index: 17}
  component:
    short: n/a
    index: 91
    elements:
      referenceRange: {index: 111}
      interpretation: {index: 110}
      value:
        short: n/a
        choices: [valueString]
        index: 107
      valueString: {type: string, short: n/a, choiceOf: value, index: 108}
      extension: {index: 93}
      id: {index: 92}
      code:
        short: n/a
        binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/asg-cs-outcome'}
        index: 95
        elements:
          id: {index: 96}
          extension: {index: 97}
          coding:
            short: n/a
            index: 98
            elements:
              id: {index: 99}
              extension: {index: 100}
              system: {short: n/a, index: 101}
              version: {index: 102}
              code: {short: n/a, index: 103}
              userSelected: {index: 104}
            extensions: {}
          text: {index: 105}
        extensions: {}
      modifierExtension: {index: 94}
      dataAbsentReason: {index: 109}
    extensions: {}
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: code.coding.code, type: value}
      min: 1
      slices:
        number-risk-factors:
          match:
            code:
              coding: {code: NUMBER-RISK-FACTORS}
          schema:
            short: n/a
            _required: true
            index: 112
            elements:
              referenceRange: {index: 133}
              interpretation: {index: 132}
              value:
                short: n/a
                choices: [valueString]
                index: 129
              valueString: {type: string, short: n/a, choiceOf: value, index: 130}
              extension: {index: 114}
              id: {index: 113}
              code:
                short: n/a
                binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/asg-cs-outcome'}
                index: 116
                elements:
                  id: {index: 117}
                  extension: {index: 118}
                  coding:
                    short: n/a
                    index: 119
                    elements:
                      id: {index: 120}
                      extension: {index: 121}
                      system:
                        short: n/a
                        pattern: {type: Uri, value: 'http://ihis.sg/CodeSystem/asg-cs-outcome'}
                        index: 122
                      version: {index: 123}
                      code:
                        short: n/a
                        pattern: {type: Code, value: NUMBER-RISK-FACTORS}
                        index: 124
                      display:
                        short: n/a
                        pattern: {type: String, value: Number of Risk Factor(s)}
                        index: 125
                      userSelected: {index: 126}
                    extensions: {}
                    required: [system, code]
                  text: {index: 127}
                extensions: {}
                required: [coding]
              modifierExtension: {index: 115}
              dataAbsentReason: {index: 131}
            extensions: {}
            required: [valueString, value]
        social-support-recommendation:
          match:
            code:
              coding: {code: SOCIAL-SUPPORT-RECOMMENDATION}
          schema:
            short: n/a
            _required: true
            index: 134
            elements:
              referenceRange: {index: 155}
              interpretation: {index: 154}
              value:
                short: n/a
                choices: [valueString]
                index: 151
              valueString: {type: string, short: n/a, choiceOf: value, index: 152}
              extension: {index: 136}
              id: {index: 135}
              code:
                short: n/a
                binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/asg-cs-outcome'}
                index: 138
                elements:
                  id: {index: 139}
                  extension: {index: 140}
                  coding:
                    short: n/a
                    index: 141
                    elements:
                      id: {index: 142}
                      extension: {index: 143}
                      system:
                        short: n/a
                        pattern: {type: Uri, value: 'http://ihis.sg/CodeSystem/asg-cs-outcome'}
                        index: 144
                      version: {index: 145}
                      code:
                        short: n/a
                        pattern: {type: Code, value: SOCIAL-SUPPORT-RECOMMENDATION}
                        index: 146
                      display:
                        short: n/a
                        pattern: {type: String, value: Social Support Recommendation}
                        index: 147
                      userSelected: {index: 148}
                    extensions: {}
                    required: [system, code]
                  text: {index: 149}
                extensions: {}
                required: [coding]
              modifierExtension: {index: 137}
              dataAbsentReason: {index: 153}
            extensions: {}
            required: [valueString, value]
        cfs:
          match:
            code:
              coding: {code: CFS}
          schema:
            short: n/a
            _required: true
            index: 156
            elements:
              referenceRange: {index: 177}
              interpretation: {index: 176}
              value:
                short: n/a
                choices: [valueString]
                index: 173
              valueString: {type: string, short: n/a, choiceOf: value, index: 174}
              extension: {index: 158}
              id: {index: 157}
              code:
                short: n/a
                binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/asg-cs-outcome'}
                index: 160
                elements:
                  id: {index: 161}
                  extension: {index: 162}
                  coding:
                    short: n/a
                    index: 163
                    elements:
                      id: {index: 164}
                      extension: {index: 165}
                      system:
                        short: n/a
                        pattern: {type: Uri, value: 'http://ihis.sg/CodeSystem/asg-cs-outcome'}
                        index: 166
                      version: {index: 167}
                      code:
                        short: n/a
                        pattern: {type: Code, value: CFS}
                        index: 168
                      display:
                        pattern: {type: String, value: CFS}
                        index: 169
                      userSelected: {index: 170}
                    extensions: {}
                    required: [system, code]
                  text: {index: 171}
                extensions: {}
                required: [coding]
              modifierExtension: {index: 159}
              dataAbsentReason: {index: 175}
            extensions: {}
            required: [valueString, value]
        aap-recommendation:
          match:
            code:
              coding: {code: AAP-RECOMMENDATION}
          schema:
            short: n/a
            _required: true
            index: 178
            elements:
              referenceRange: {index: 199}
              interpretation: {index: 198}
              value:
                short: n/a
                choices: [valueString]
                index: 195
              valueString: {type: string, short: n/a, choiceOf: value, index: 196}
              extension: {index: 180}
              id: {index: 179}
              code:
                short: n/a
                binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/asg-cs-outcome'}
                index: 182
                elements:
                  id: {index: 183}
                  extension: {index: 184}
                  coding:
                    short: n/a
                    index: 185
                    elements:
                      id: {index: 186}
                      extension: {index: 187}
                      system:
                        short: n/a
                        pattern: {type: Uri, value: 'http://ihis.sg/CodeSystem/asg-cs-outcome'}
                        index: 188
                      version: {index: 189}
                      code:
                        short: n/a
                        pattern: {type: Code, value: AAP-RECOMMENDATION}
                        index: 190
                      display:
                        pattern: {type: String, value: AAP Recommendation}
                        index: 191
                      userSelected: {index: 192}
                    extensions: {}
                    required: [system, code]
                  text: {index: 193}
                extensions: {}
                required: [coding]
              modifierExtension: {index: 181}
              dataAbsentReason: {index: 197}
            extensions: {}
            required: [valueString, value]
  note: {index: 71}
  effective[x]:
    extensions: {}
    elements:
      extension: {index: 64}
  extension: {index: 21}
  contained: {index: 20}
  effectiveDateTime:
    constraint:
      observation-effective-datetime-format: {human: 'effective datetime 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)$'')'}
      observation-effective-datetime-not-future: {human: effective datetime must not be greater than current date, severity: error, expression: '$this <= (now() + 5 minutes).toString().substring(0,25).toDateTime()'}
    short: n/a
    type: dateTime
    choiceOf: effective
    index: 63
  status:
    short: n/a
    pattern: {type: Code, value: final}
    isModifierReason: n/a
    index: 33
  language: {index: 18}
  effective:
    constraint:
      observation-effective-datetime-format: {human: 'effective datetime 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)$'')'}
      observation-effective-datetime-not-future: {human: effective datetime must not be greater than current date, severity: error, expression: '$this <= (now() + 5 minutes).toString().substring(0,25).toDateTime()'}
    short: n/a
    choices: [effectiveDateTime]
    index: 62
  id: {short: n/a, index: 0}
  code:
    short: n/a
    binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/asg-observation-type'}
    index: 35
    elements:
      id: {index: 36}
      extension: {index: 37}
      coding:
        short: n/a
        index: 38
        extensions: {}
        elements:
          extension: {index: 39}
          system:
            short: n/a
            pattern: {type: Uri, value: 'http://ihis.sg/CodeSystem/asg-observation-type'}
            index: 40
          version: {index: 41}
          code:
            short: n/a
            pattern: {type: Code, value: cs-outcome}
            index: 42
          display: {index: 43}
          userSelected: {index: 44}
        required: [system, code]
      text: {index: 45}
    extensions: {}
    required: [coding]
  identifier:
    short: n/a
    index: 23
    extensions: {}
    elements:
      extension: {index: 24}
      use: {index: 25}
      type: {index: 26}
      system:
        short: n/a
        pattern: {type: Uri, value: 'http://ihis.sg/identifier/cs-outcome-identifier-value'}
        index: 27
      value: {short: n/a, index: 28}
      period: {index: 29}
      assigner: {index: 30}
    required: [value, system]
  bodySite: {index: 72}
  focus: {index: 59}
  issued: {index: 65}
  device: {index: 75}
  basedOn: {index: 31}
  partOf: {index: 32}
  subject:
    short: n/a
    index: 46
    extensions: {}
    elements:
      extension: {index: 47}
      reference: {short: n/a, index: 48}
      type:
        short: n/a
        pattern: {type: Uri, value: Patient}
        index: 49
      identifier:
        short: n/a
        index: 50
        extensions: {}
        elements:
          extension: {index: 51}
          use: {index: 52}
          type: {index: 53}
          system:
            short: n/a
            pattern: {type: Uri, value: 'http://ihis.sg/identifier/nric'}
            index: 54
          value: {short: n/a, index: 55}
          period: {index: 56}
          assigner: {index: 57}
      display: {index: 58}
    required: [reference]
  modifierExtension: {index: 22}
  performer: {index: 66}
  dataAbsentReason: {index: 69}
  text: {index: 19}
package_version: 1.0.11
extensions: {}
class: profile
kind: resource
url: http://ihis.sg/StructureDefinition/Observation-get-asg-cst
base: http://hl7.org/fhir/StructureDefinition/Observation
version: null
required: [derivedFrom, effectiveDateTime, component, id, identifier, subject, meta, effective]