PackagesCanonicalsLogsProblems
    Packages
    rapport.endoscopie.quebec@0.9.0-beta
    https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoServiceRequest
description: Demande de services
package_name: rapport.endoscopie.quebec
derivation: constraint
name: EndoServiceRequest
type: ServiceRequest
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]
  authoredOn: {mustSupport: true, index: 40}
  requester:
    type: Reference
    mustSupport: true
    refers: ['https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoPractitioner']
    index: 41
    elements:
      reference: {mustSupport: true, index: 42}
  status: {mustSupport: true, index: 20}
  code:
    mustSupport: true
    index: 22
    elements:
      text:
        pattern: {type: string, value: EndoServiceRequest}
        type: string
        index: 23
    required: [text]
  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}
  intent: {mustSupport: true, index: 21}
  orderDetail:
    mustSupport: true
    index: 24
    slicing:
      rules: open
      discriminator:
      - {path: text, type: value}
      min: null
      slices:
        orderOrigin:
          match: {text: orderOrigin}
          schema:
            mustSupport: true
            index: 25
            elements:
              coding:
                binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/OrigineDemandeEndo'}
                index: 26
                elements:
                  system: {mustSupport: true, index: 27}
                  code: {mustSupport: true, index: 28}
                  display: {mustSupport: true, index: 29}
              text:
                pattern: {type: string, value: orderOrigin}
                type: string
                index: 30
            required: [text]
        orderRequester:
          match: {text: orderRequester}
          schema:
            mustSupport: true
            array: true
            index: 31
            elements:
              coding:
                binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/ReferentEndo'}
                index: 32
                elements:
                  system: {mustSupport: true, index: 33}
                  code: {mustSupport: true, index: 34}
                  display: {mustSupport: true, index: 35}
              text:
                pattern: {type: string, value: orderRequester}
                type: string
                index: 36
            required: [text]
        otherOrderDetail:
          match: {text: otherOrderDetail}
          schema:
            mustSupport: true
            array: true
            index: 37
            elements:
              text:
                pattern: {type: string, value: otherOrderDetail}
                type: string
                index: 38
            required: [text]
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoPatient']
    index: 39
package_version: 0.9.0-beta
class: profile
kind: resource
url: https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoServiceRequest
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 0.9.0
required: [authoredOn, code, requester]