PackagesCanonicalsLogsProblems
    Packages
    ca.on.health.sadie@0.1.19-beta
    http://health.gov.on.ca/sadie/fhir/StructureDefinition/Request
description: 'This is the Request, this profile is not very restrictive since the request can be saved at anytime.  The RequestSubmission profile is a more restriced profile of the Request.   Partition: The partition is the Organization.identifier.value of the Questionnaire.publisher.  Example: ODSP'
package_name: ca.on.health.sadie
derivation: constraint
name: Request
type: ServiceRequest
elements:
  performerType: {index: 39}
  category: {index: 20}
  insurance: {index: 51}
  instantiatesCanonical: {index: 13}
  instantiatesUri: {index: 14}
  relevantHistory: {index: 57}
  asNeeded:
    choices: []
    index: 36
  supportingInfo:
    type: Reference
    refers: ['https://health.gov.on.ca/sadie/fhir/StructureDefinition/RequestPDF']
    index: 52
  encounter: {index: 32}
  patientInstruction: {index: 56}
  specimen: {index: 53}
  reasonCode: {index: 49}
  authoredOn: {index: 37}
  note: {index: 55}
  requisition: {index: 17}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        requestSubmittedDate:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/sadie/fhir/StructureDefinition/RequestSubmittedDate', index: 1}
          max: 1
        requestCompletedDate:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/sadie/fhir/StructureDefinition/RequestCompletedDate', index: 2}
          max: 1
        requestClientStatus:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/sadie/fhir/StructureDefinition/RequestClientStatus', index: 3}
          min: 0
          max: 1
  locationReference:
    type: Reference
    refers: ['http://health.gov.on.ca/sadie/fhir/StructureDefinition/RequestorLocation']
    index: 48
  requester:
    type: Reference
    refers: ['http://health.gov.on.ca/fhir/StructureDefinition/QualifiedRequestorUser']
    index: 38
  priority: {index: 21}
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-status'}
    index: 18
  code: {index: 23}
  identifier:
    index: 4
    elements:
      use: {index: 5}
      type:
        index: 6
        elements:
          coding:
            index: 7
            elements:
              code:
                binding: {strength: required, valueSet: 'http://health.gov.on.ca/sadie/fhir/ValueSet/FlexForms-RequestID-Types'}
                index: 8
            required: [code]
        required: [coding]
      system:
        binding: {strength: required, valueSet: 'http://health.gov.on.ca/sadie/fhir/ValueSet/FlexForms-IdentifierSystems'}
        index: 9
      value: {index: 10}
      period: {index: 11}
      assigner: {index: 12}
    required: [value, system]
  doNotPerform: {index: 22}
  bodySite: {index: 54}
  intent:
    pattern: {type: Code, value: order}
    index: 19
  replaces: {index: 16}
  orderDetail:
    array: true
    max: 2
    index: 24
    slicing:
      rules: open
      ordered: true
      description: '#### **_`FOR SADIE USE:  This stores the additional column details that appear on the WIP list.`_**'
      discriminator:
      - {path: text, type: value}
      min: null
      max: 2
      slices:
        DetailColumnOne:
          match: {text: null}
          schema:
            index: 25
            elements:
              coding: {index: 26}
        DetailColumnTwo:
          match: {text: null}
          schema:
            index: 27
            elements:
              coding: {index: 28}
  basedOn: {index: 15}
  quantity:
    choices: []
    index: 30
  locationCode:
    index: 41
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'https://health.gov.on.ca/sadie/fhir/CodeSystem/FlexForms-Internal'}
            index: 42
          version: {index: 43}
          code:
            binding: {strength: required, valueSet: 'http://health.gov.on.ca/sadie/fhir/ValueSet/FlexForms-LocationConfirmationStatuses'}
            index: 44
          display: {index: 45}
          userSelected: {index: 46}
        required: [code]
      text: {index: 47}
  subject:
    type: Reference
    refers: ['http://health.gov.on.ca/sadie/fhir/StructureDefinition/Applicant']
    index: 31
  occurrence:
    choices: []
    index: 34
  performer:
    type: Reference
    refers: ['http://health.gov.on.ca/sadie/fhir/StructureDefinition/FlexFormUser']
    index: 40
  reasonReference: {index: 50}
package_version: 0.1.19-beta
extensions:
  requestSubmittedDate: {url: 'https://health.gov.on.ca/sadie/fhir/StructureDefinition/RequestSubmittedDate', max: 1, type: Extension, index: 1}
  requestCompletedDate: {url: 'https://health.gov.on.ca/sadie/fhir/StructureDefinition/RequestCompletedDate', max: 1, type: Extension, index: 2}
  requestClientStatus: {url: 'https://health.gov.on.ca/sadie/fhir/StructureDefinition/RequestClientStatus', min: 0, max: 1, type: Extension, index: 3}
class: profile
kind: resource
url: http://health.gov.on.ca/sadie/fhir/StructureDefinition/Request
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: null