PackagesCanonicalsLogsProblems
    Packages
    rapport.endoscopie.quebec@0.9.0-beta2
    https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoPreparationQuality
description: Ressource observation - Score de Boston\n\nChangements à la version 0.9.0:\n\n- statut de la ressource (draft → active)\n- meta.source est obligatoire\n- liaison avec le patient (subject) obligatoire
package_name: rapport.endoscopie.quebec
derivation: constraint
name: EndoPreparationQuality
type: Observation
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      source: {mustSupport: true, index: 1}
      profile: {mustSupport: true, index: 2}
      security:
        mustSupport: true
        index: 3
        elements:
          system: {mustSupport: true, index: 4}
          code: {mustSupport: true, index: 5}
          display: {mustSupport: true, index: 6}
      tag:
        mustSupport: true
        index: 7
        elements:
          system: {mustSupport: true, index: 8}
          code: {mustSupport: true, index: 9}
          display: {mustSupport: true, index: 10}
    required: [source]
  identifier:
    mustSupport: true
    index: 11
    elements:
      use: {mustSupport: true, index: 12}
      type:
        mustSupport: true
        index: 13
        elements:
          coding:
            mustSupport: true
            index: 14
            elements:
              system: {mustSupport: true, index: 15}
              code: {mustSupport: true, index: 16}
              display: {mustSupport: true, index: 17}
      system: {mustSupport: true, index: 18}
      value: {mustSupport: true, index: 19}
  status: {mustSupport: true, index: 20}
  code:
    mustSupport: true
    index: 21
    elements:
      coding:
        mustSupport: true
        index: 22
        elements:
          system:
            pattern: {type: uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            type: uri
            index: 23
          code:
            pattern: {type: code, value: '722818007'}
            mustSupport: true
            type: code
            index: 24
          display:
            pattern: {type: string, value: Boston bowel preparation scale (assessment scale)}
            mustSupport: true
            type: string
            index: 25
        required: [code, display, system]
    required: [coding]
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoPatient']
    index: 26
  component:
    mustSupport: true
    array: true
    min: 3
    max: 4
    index: 27
    slicing:
      rules: open
      discriminator:
      - {path: code.coding.code, type: value}
      min: 3
      max: 4
      slices:
        rightColon:
          match:
            code:
              coding: {code: '51342009'}
          schema:
            mustSupport: true
            _required: true
            index: 28
            elements:
              code:
                mustSupport: true
                index: 29
                elements:
                  coding:
                    mustSupport: true
                    index: 30
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 31
                      code:
                        pattern: {type: code, value: '51342009'}
                        type: code
                        index: 32
                      display:
                        pattern: {type: string, value: Right colon structure (body structure)}
                        type: string
                        index: 33
                    required: [code, display, system]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 35
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 36}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    index: 37
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 38
                      code: {index: 39}
                      display: {index: 40}
                    required: [code, display, system]
                required: [coding]
            required: [value, valueCodeableConcept]
        transversum:
          match:
            code:
              coding: {code: '485005'}
          schema:
            mustSupport: true
            _required: true
            index: 41
            elements:
              code:
                mustSupport: true
                index: 42
                elements:
                  coding:
                    mustSupport: true
                    index: 43
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 44
                      code:
                        pattern: {type: code, value: '485005'}
                        type: code
                        index: 45
                      display:
                        pattern: {type: string, value: Transverse colon structure (body structure)}
                        type: string
                        index: 46
                    required: [code, display, system]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 48
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 49}
            required: [value, valueCodeableConcept]
        leftColon:
          match:
            code:
              coding: {code: '55572008'}
          schema:
            mustSupport: true
            _required: true
            index: 50
            elements:
              code:
                mustSupport: true
                index: 51
                elements:
                  coding:
                    mustSupport: true
                    index: 52
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 53
                      code:
                        pattern: {type: code, value: '55572008'}
                        type: code
                        index: 54
                      display:
                        pattern: {type: string, value: Left colon structure (body structure)}
                        type: string
                        index: 55
                    required: [code, display, system]
                required: [coding]
              value:
                choices: [valueCodeableConcept]
                index: 57
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 58}
            required: [value, valueCodeableConcept]
        totalScore:
          match:
            code:
              coding: {code: '246262008'}
          schema:
            mustSupport: true
            index: 59
            elements:
              code:
                mustSupport: true
                index: 60
                elements:
                  coding:
                    mustSupport: true
                    index: 61
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 62
                      code:
                        pattern: {type: code, value: '246262008'}
                        mustSupport: true
                        type: code
                        index: 63
                      display:
                        pattern: {type: string, value: Score (attribute)}
                        type: string
                        index: 64
                    required: [code, display, system]
                required: [coding]
              value:
                mustSupport: true
                choices: [valueInteger]
                index: 66
              valueInteger: {type: integer, mustSupport: true, choiceOf: value, index: 67}
            required: [value, valueInteger]
package_version: 0.9.0-beta2
class: profile
kind: resource
url: https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoPreparationQuality
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.9.0
required: [meta, subject]