PackagesCanonicalsLogsProblems
    Packages
    rapport.endoscopie.quebec.test.fs-0-9-1@1.0.7
    https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoProcedure_v010
description: null
package_name: rapport.endoscopie.quebec.test.fs-0-9-1
derivation: constraint
name: EndoProcedure_0_1_0
type: Procedure
elements:
  report:
    type: Reference
    mustSupport: true
    refers: ['https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoDiagnosticReport', 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoDocumentReference']
    index: 72
  usedCode:
    mustSupport: true
    index: 93
    slicing:
      rules: open
      discriminator:
      - {path: extension.value, type: value}
      min: null
      slices:
        unplannedIntervention:
          match:
            extension: {value: null}
          schema:
            mustSupport: true
            array: true
            index: 94
            extensions:
              sliceType:
                url: http://hl7.org/fhir/StructureDefinition/originalText
                type: Extension
                index: 96
                elements:
                  value:
                    choices: []
                    index: 98
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueString:
                          match: {}
                          schema:
                            pattern: {type: String, value: unplannedIntervention}
                            choices: [valueString]
                            index: 100
                          min: 0
                          max: 1
                  valueString:
                    type: string
                    pattern: {type: String, value: unplannedIntervention}
                    choiceOf: value
                    index: 101
                    slicing:
                      slices:
                        valueString:
                          match: {}
                          schema:
                            type: string
                            pattern: {type: String, value: unplannedIntervention}
                            choiceOf: value
                            index: 101
                          min: 0
                          max: 1
            elements:
              extension:
                index: 95
                slicing:
                  slices:
                    sliceType:
                      match: {}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/originalText
                        index: 96
                        elements:
                          value:
                            choices: []
                            index: 98
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: $this, type: type}
                              min: null
                              slices:
                                valueString:
                                  match: {}
                                  schema:
                                    pattern: {type: String, value: unplannedIntervention}
                                    choices: [valueString]
                                    index: 100
                                  min: 0
                                  max: 1
                          valueString:
                            type: string
                            pattern: {type: String, value: unplannedIntervention}
                            choiceOf: value
                            index: 101
                            slicing:
                              slices:
                                valueString:
                                  match: {}
                                  schema:
                                    type: string
                                    pattern: {type: String, value: unplannedIntervention}
                                    choiceOf: value
                                    index: 101
                                  min: 0
                                  max: 1
              coding:
                binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/InterventionNonPlanifieeEndo'}
                mustSupport: true
                index: 102
                elements:
                  system: {mustSupport: true, index: 103}
                  code: {mustSupport: true, index: 104}
                  display: {mustSupport: true, index: 105}
            required: [extension]
  meta:
    mustSupport: true
    index: 1
    elements:
      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}
  encounter:
    mustSupport: true
    index: 54
    elements:
      identifier:
        mustSupport: true
        index: 55
        elements:
          use:
            pattern: {type: Code, value: official}
            mustSupport: true
            index: 56
          value: {mustSupport: true, index: 57}
        required: [value, use]
    required: [identifier]
  performed:
    mustSupport: true
    choices: [performedDateTime]
    index: 59
  note:
    index: 80
    slicing:
      rules: open
      discriminator:
      - {path: author, type: value}
      min: null
      slices:
        medicationNote:
          match: {author: medicationNote}
          schema:
            array: true
            index: 81
            elements:
              author:
                short: Type of note
                pattern: {type: String, value: medicationNote}
                choices: [authorString]
                index: 83
              authorString:
                type: string
                short: Type of note
                pattern: {type: String, value: medicationNote}
                choiceOf: author
                index: 84
            required: [authorString, author]
        otherNote:
          match: {author: otherNote}
          schema:
            array: true
            index: 85
            elements:
              author:
                short: Type of note
                pattern: {type: String, value: otherNote}
                choices: [authorString]
                index: 87
              authorString:
                type: string
                short: Type of note
                pattern: {type: String, value: otherNote}
                choiceOf: author
                index: 88
            required: [authorString, author]
        complicationNote:
          match: {author: complicationNote}
          schema:
            array: true
            index: 89
            elements:
              author:
                pattern: {type: String, value: complicationNote}
                choices: [authorString]
                index: 91
              authorString:
                type: string
                pattern: {type: String, value: complicationNote}
                choiceOf: author
                index: 92
            required: [authorString, author]
  extension:
    index: 11
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        previousColonoscopy:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoPreviousColonoscopy_v090
            index: 12
            extensions:
              previousColonoscopy: {url: null, max: 0, index: 14}
              previousColonoscopyDate: {url: null, max: 0, index: 15}
            elements:
              extension:
                index: 13
                slicing:
                  slices:
                    previousColonoscopy:
                      match: {}
                      schema: {index: 14}
                      max: 0
                    previousColonoscopyDate:
                      match: {}
                      schema: {index: 15}
                      max: 0
              value:
                mustSupport: true
                choices: []
                index: 17
        procedureTimes:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoProcedureTimes_v010
            index: 18
            extensions:
              StartTime:
                url: null
                mustSupport: true
                index: 19
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 21
              EndTime:
                url: null
                mustSupport: true
                index: 22
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 24
              WithdrawalTime:
                url: null
                mustSupport: true
                index: 25
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 27
                  value[x]:
                    elements:
                      value: {mustSupport: true, index: 28}
                      unit:
                        pattern: {type: String, value: min}
                        mustSupport: true
                        index: 29
                      system: {mustSupport: true, index: 30}
                      code: {mustSupport: true, index: 31}
            elements:
              extension:
                mustSupport: true
                index: 19
                slicing:
                  slices:
                    StartTime:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 19
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 21
                    EndTime:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 22
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 24
                    WithdrawalTime:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 25
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 27
                          value[x]:
                            elements:
                              value: {mustSupport: true, index: 28}
                              unit:
                                pattern: {type: String, value: min}
                                mustSupport: true
                                index: 29
                              system: {mustSupport: true, index: 30}
                              code: {mustSupport: true, index: 31}
        endoConsentTo:
          match: {url: null}
          schema: {type: Extension, url: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoConsentTo_v010', index: 32}
          min: 0
        endoMedicationByAnesthetist:
          match: {url: null}
          schema:
            type: Extension
            url: https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoMedicationByAnesthetist_v010
            index: 33
            elements:
              value:
                short: Médication prise en charge par l'anesthésiste
                choices: []
                index: 35
  complication:
    mustSupport: true
    index: 73
    elements:
      coding:
        binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/ComplicationEndo'}
        mustSupport: true
        index: 74
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            SNOMEDCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                mustSupport: true
                index: 75
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 76
                  code: {mustSupport: true, index: 77}
                  display: {mustSupport: true, index: 78}
                required: [system]
      text: {mustSupport: true, index: 79}
  status:
    pattern: {type: Code, value: completed}
    index: 46
  id: {index: 0}
  performedDateTime: {type: dateTime, mustSupport: true, choiceOf: performed, index: 60}
  code:
    mustSupport: true
    index: 47
    elements:
      coding:
        binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/ColoscopieTypeEndo'}
        mustSupport: true
        index: 48
        elements:
          system: {mustSupport: true, index: 49}
          code: {mustSupport: true, index: 50}
          display: {mustSupport: true, index: 51}
      text: {mustSupport: true, index: 52}
    required: [coding]
  identifier:
    mustSupport: true
    index: 36
    elements:
      use: {mustSupport: true, index: 37}
      type:
        mustSupport: true
        index: 38
        elements:
          coding:
            mustSupport: true
            index: 39
            elements:
              system: {mustSupport: true, index: 40}
              code: {mustSupport: true, index: 41}
              display: {mustSupport: true, index: 42}
      system: {mustSupport: true, index: 43}
      value: {mustSupport: true, index: 44}
  basedOn:
    type: Reference
    refers: ['https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoServiceRequest']
    index: 45
  location:
    type: Reference
    refers: ['https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoLocation']
    index: 71
  subject:
    type: Reference
    refers: ['https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoPatient_v011']
    index: 53
  performer:
    mustSupport: true
    index: 61
    elements:
      function:
        mustSupport: true
        index: 62
        elements:
          coding:
            binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/IntervenantProcedureEndo'}
            mustSupport: true
            index: 63
            elements:
              system: {mustSupport: true, index: 64}
              code: {mustSupport: true, index: 65}
              display: {mustSupport: true, index: 66}
          text: {mustSupport: true, index: 67}
      actor:
        type: Reference
        mustSupport: true
        refers: ['https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoPractitioner']
        index: 68
        elements:
          identifier:
            elements:
              value: {mustSupport: true, index: 69}
              assigner:
                elements:
                  display:
                    binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/OrganisationOrdreEndo'}
                    index: 70
    required: [function]
package_version: 1.0.7
extensions:
  previousColonoscopy:
    url: https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoPreviousColonoscopy_v090
    type: Extension
    mustSupport: true
    index: 12
    extensions:
      previousColonoscopy: {url: null, max: 0, index: 14}
      previousColonoscopyDate: {url: null, max: 0, index: 15}
    elements:
      extension:
        index: 13
        slicing:
          slices:
            previousColonoscopy:
              match: {}
              schema: {index: 14}
              max: 0
            previousColonoscopyDate:
              match: {}
              schema: {index: 15}
              max: 0
      value:
        mustSupport: true
        choices: []
        index: 17
  procedureTimes:
    url: https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoProcedureTimes_v010
    type: Extension
    mustSupport: true
    index: 18
    extensions:
      StartTime:
        url: null
        mustSupport: true
        index: 19
        elements:
          value:
            mustSupport: true
            choices: []
            index: 21
      EndTime:
        url: null
        mustSupport: true
        index: 22
        elements:
          value:
            mustSupport: true
            choices: []
            index: 24
      WithdrawalTime:
        url: null
        mustSupport: true
        index: 25
        elements:
          value:
            mustSupport: true
            choices: []
            index: 27
          value[x]:
            elements:
              value: {mustSupport: true, index: 28}
              unit:
                pattern: {type: String, value: min}
                mustSupport: true
                index: 29
              system: {mustSupport: true, index: 30}
              code: {mustSupport: true, index: 31}
    elements:
      extension:
        mustSupport: true
        index: 19
        slicing:
          slices:
            StartTime:
              match: {}
              schema:
                mustSupport: true
                index: 19
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 21
            EndTime:
              match: {}
              schema:
                mustSupport: true
                index: 22
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 24
            WithdrawalTime:
              match: {}
              schema:
                mustSupport: true
                index: 25
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 27
                  value[x]:
                    elements:
                      value: {mustSupport: true, index: 28}
                      unit:
                        pattern: {type: String, value: min}
                        mustSupport: true
                        index: 29
                      system: {mustSupport: true, index: 30}
                      code: {mustSupport: true, index: 31}
  endoConsentTo: {url: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoConsentTo_v010', min: 0, type: Extension, index: 32}
  endoMedicationByAnesthetist:
    url: https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoMedicationByAnesthetist_v010
    type: Extension
    index: 33
    elements:
      value:
        short: Médication prise en charge par l'anesthésiste
        choices: []
        index: 35
class: profile
kind: resource
url: https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoProcedure_v010
base: http://hl7.org/fhir/StructureDefinition/Procedure
version: 0.1.0
required: [performedDateTime, location, performed, code]