PackagesCanonicalsLogsProblems
    Packages
    rs/ca.on.health.idms@1.0.1-beta
    https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-ServiceRequest-New
description: This profile is for a Request that has not been submitted yet.
package_name: rs/ca.on.health.idms
derivation: constraint
name: IDMSServiceRequestNew
type: ServiceRequest
elements:
  performerType: {index: 69}
  category:
    short: Classifications of the request
    array: true
    max: 4
    index: 25
    slicing:
      rules: open
      discriminator:
      - {path: coding.version, type: value}
      min: null
      max: 4
      slices:
        RequestCategory:
          match:
            coding: {version: null}
          schema:
            index: 26
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal'}
                    type: uri
                    index: 27
                  version: {index: 28}
                  code:
                    binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/Request-Category'}
                    index: 29
                  display: {index: 30}
                  userSelected: {index: 31}
                required: [code, display, system]
              text:
                short: Distinquishes this as the ProductType Code,  has a fixed value of 'ProductType'
                pattern: {type: string, value: RequestCategory}
                type: string
                index: 32
        ProductType:
          match:
            coding: {version: ProductType}
          schema:
            index: 33
            elements:
              coding:
                elements:
                  system:
                    short: IDMS Product Submission Code System
                    pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Product-Types'}
                    type: uri
                    index: 34
                  version:
                    short: Type of Code
                    pattern: {type: string, value: ProductType}
                    type: string
                    index: 35
                  code:
                    short: This is the Product Type Code
                    binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Product-Types'}
                    index: 36
                  display: {short: Display Value for the Product Type code, index: 37}
                  userSelected: {index: 38}
                required: [code, display, system]
              text:
                short: Distinquishes this as the ProductType Code,  has a fixed value of 'ProductType'
                pattern: {type: string, value: ProductType}
                type: string
                index: 39
        SubmissionType:
          match:
            coding: {version: SubmissionType}
          schema:
            index: 40
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Submission-Types'}
                    type: uri
                    index: 41
                  version:
                    short: Type of Code
                    pattern: {type: string, value: SubmissionType}
                    type: string
                    index: 42
                  code:
                    short: This is the Submission Code
                    binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Submission-Types'}
                    index: 43
                  display: {short: This is the display Value for the Submission Code, index: 44}
                  userSelected: {index: 45}
                required: [code, display, system]
              text:
                short: Distinquishes this as the SubmissionType Code,  has a fixed value of 'SubmissionType'
                pattern: {type: string, value: SubmissionType}
                type: string
                index: 46
        RequestType:
          match:
            coding: {version: RequestType}
          schema:
            index: 47
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal'}
                    type: uri
                    index: 48
                  version:
                    short: Type of Code
                    pattern: {type: string, value: RequestType}
                    type: string
                    index: 49
                  code:
                    pattern: {type: string, value: REQUEST-TYPE-INITIAL}
                    type: string
                    index: 50
                  display: {short: This is the display Value for the Request Type, index: 51}
                  userSelected: {index: 52}
                required: [system]
              text: {index: 53}
  insurance: {index: 73}
  instantiatesCanonical: {index: 18}
  instantiatesUri: {index: 19}
  relevantHistory: {index: 86}
  asNeeded:
    choices: []
    index: 66
  supportingInfo: {index: 74}
  encounter: {index: 62}
  patientInstruction: {index: 85}
  specimen: {index: 75}
  authoredOn: {index: 67}
  note:
    index: 78
    elements:
      author:
        choices: []
        index: 80
      authorReference: {index: 81}
      authorString: {index: 82}
      time: {index: 83}
      text: {index: 84}
    required: [author, authorReference, time]
  requisition: {index: 22}
  reason: {index: 72}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        requestManufacturer:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedManufacturer', index: 1}
          min: 0
          max: 1
        requestCreatedUserName:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RequestCreatedUserName', index: 2}
          min: 1
          max: 1
        requestCreatedDate:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedDate', index: 3}
          min: 1
          max: 1
        requestUpdatedUserName:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RequestUpdatedUserName', index: 4}
          min: 1
          max: 1
        requestBusinessStatus:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Request-Business-Status', index: 5}
          min: 1
          max: 1
        submissionConsent:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedSubmissionConsent', index: 6}
          max: 0
        searchableExtraString:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/SearchableExtraString', index: 7}
          min: 0
          max: 1
  requester: {index: 68}
  priority: {index: 54}
  status: {index: 23}
  code: {index: 56}
  identifier:
    short: Primary File Number
    index: 8
    elements:
      use: {index: 9}
      type:
        index: 10
        elements:
          coding:
            elements:
              system: {index: 11}
              code: {index: 12}
              display: {index: 13}
            required: [code, display, system]
      system:
        short: Primary File Number System
        pattern: {type: uri, value: 'urn:idms:request:primaryfilenumber'}
        type: uri
        index: 14
      value: {short: Primary File Number, index: 15}
      period: {index: 16}
      assigner: {index: 17}
    required: [system, value]
  doNotPerform: {index: 55}
  bodySite: {index: 76}
  intent:
    pattern: {type: code, value: order}
    type: code
    index: 24
  focus: {index: 61}
  replaces: {index: 21}
  orderDetail: {index: 57}
  basedOn: {index: 20}
  quantity:
    choices: []
    index: 59
  bodyStructure: {index: 77}
  location: {index: 71}
  subject:
    type: Reference
    short: Manufacturer
    refers: ['https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS_Group']
    index: 60
  occurrence:
    choices: []
    index: 64
  performer:
    type: Reference
    short: Request Modifier
    refers: ['https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS_PractitionerRole']
    index: 70
package_version: 1.0.1-beta
extensions:
  requestManufacturer: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedManufacturer', min: 0, max: 1, type: Extension, index: 1}
  requestCreatedUserName: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RequestCreatedUserName', min: 1, max: 1, type: Extension, index: 2}
  requestCreatedDate: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedDate', min: 1, max: 1, type: Extension, index: 3}
  requestUpdatedUserName: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RequestUpdatedUserName', min: 1, max: 1, type: Extension, index: 4}
  requestBusinessStatus: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Request-Business-Status', min: 1, max: 1, type: Extension, index: 5}
  submissionConsent: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedSubmissionConsent', max: 0, type: Extension, index: 6}
  searchableExtraString: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/SearchableExtraString', min: 0, max: 1, type: Extension, index: 7}
class: profile
kind: resource
url: https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-ServiceRequest-New
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 1.0.0
required: [identifier]