PackagesCanonicalsLogsProblems
    Packages
    ca.on.health.sadie@0.1.25-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.
package_name: ca.on.health.sadie
derivation: constraint
name: Request
type: ServiceRequest
elements:
  performerType: {index: 40}
  category: {index: 21}
  insurance: {index: 52}
  instantiatesCanonical: {index: 14}
  instantiatesUri: {index: 15}
  relevantHistory: {index: 58}
  asNeeded:
    choices: []
    index: 37
  supportingInfo:
    type: Reference
    refers: ['https://health.gov.on.ca/sadie/fhir/StructureDefinition/RequestPDF']
    index: 53
  encounter: {index: 33}
  patientInstruction: {index: 57}
  specimen: {index: 54}
  reasonCode: {index: 50}
  authoredOn: {index: 38}
  note: {index: 56}
  requisition: {index: 18}
  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}
          max: 1
        submissionConsent:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/sadie/fhir/StructureDefinition/RelatedSubmissionConsent', index: 4}
          max: 1
  locationReference:
    type: Reference
    refers: ['http://health.gov.on.ca/sadie/fhir/StructureDefinition/RequestorLocation']
    index: 49
  requester:
    type: Reference
    refers: ['https://health.gov.on.ca/sadie/fhir/StructureDefinition/FlexFormsRole']
    index: 39
  priority: {index: 22}
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-status'}
    index: 19
  code: {index: 24}
  identifier:
    index: 5
    elements:
      use: {index: 6}
      type:
        index: 7
        elements:
          coding:
            index: 8
            elements:
              code: {index: 9}
            required: [code]
        required: [coding]
      system:
        binding: {strength: required, valueSet: 'http://health.gov.on.ca/sadie/fhir/ValueSet/FlexForms-IdentifierSystems'}
        index: 10
      value: {index: 11}
      period: {index: 12}
      assigner: {index: 13}
    required: [value, system]
  doNotPerform: {index: 23}
  bodySite: {index: 55}
  intent:
    pattern: {type: Code, value: order}
    index: 20
  replaces: {index: 17}
  orderDetail:
    array: true
    max: 2
    index: 25
    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: 26
            elements:
              coding: {index: 27}
        DetailColumnTwo:
          match: {text: null}
          schema:
            index: 28
            elements:
              coding: {index: 29}
  basedOn: {index: 16}
  quantity:
    choices: []
    index: 31
  locationCode:
    index: 42
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'https://health.gov.on.ca/sadie/fhir/CodeSystem/FlexForms-Internal'}
            index: 43
          version: {index: 44}
          code:
            binding: {strength: required, valueSet: 'http://health.gov.on.ca/sadie/fhir/ValueSet/FlexForms-LocationConfirmationStatuses'}
            index: 45
          display: {index: 46}
          userSelected: {index: 47}
        required: [code]
      text: {index: 48}
  subject:
    type: Reference
    refers: ['http://health.gov.on.ca/sadie/fhir/StructureDefinition/Applicant']
    index: 32
  occurrence:
    choices: []
    index: 35
  performer:
    type: Reference
    refers: ['https://health.gov.on.ca/sadie/fhir/StructureDefinition/FlexFormsRole']
    index: 41
  reasonReference: {index: 51}
package_version: 0.1.25-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', max: 1, type: Extension, index: 3}
  submissionConsent: {url: 'https://health.gov.on.ca/sadie/fhir/StructureDefinition/RelatedSubmissionConsent', max: 1, type: Extension, index: 4}
class: profile
kind: resource
url: http://health.gov.on.ca/sadie/fhir/StructureDefinition/Request
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: null