PackagesCanonicalsLogsProblems
    Packages
    ca.on.health.idms@1.0.9
    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: ca.on.health.idms
derivation: constraint
name: IDMSServiceRequestNew
type: ServiceRequest
elements:
  performerType: {index: 126}
  category:
    short: Classifications of the request
    array: true
    max: 6
    index: 44
    slicing:
      rules: open
      discriminator:
      - {path: coding.version, type: value}
      min: null
      max: 6
      slices:
        RequestCategory:
          match:
            coding: {version: null}
          schema:
            index: 45
            extensions: {}
            elements:
              extension: {index: 46}
              coding:
                index: 47
                extensions: {}
                elements:
                  extension: {index: 48}
                  system:
                    pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Request-Category-Types'}
                    type: uri
                    index: 49
                  version: {index: 50}
                  code:
                    binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/Request-Category'}
                    index: 51
                  display: {index: 52}
                  userSelected: {index: 53}
                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: 54
            required: [coding]
        ProductType:
          match:
            coding: {version: ProductType}
          schema:
            index: 55
            extensions: {}
            elements:
              extension: {index: 56}
              coding:
                index: 57
                extensions: {}
                elements:
                  extension: {index: 58}
                  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: 59
                  version:
                    short: Type of Code
                    pattern: {type: string, value: ProductType}
                    type: string
                    index: 60
                  code:
                    short: This is the Product Type Code
                    binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Product-Types'}
                    index: 61
                  display: {short: Display Value for the Product Type code, index: 62}
                  userSelected: {index: 63}
                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: 64
            required: [coding]
        SubmissionType:
          match:
            coding: {version: SubmissionType}
          schema:
            index: 65
            extensions: {}
            elements:
              extension: {index: 66}
              coding:
                index: 67
                extensions: {}
                elements:
                  extension: {index: 68}
                  system:
                    pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Submission-Types'}
                    type: uri
                    index: 69
                  version:
                    short: Type of Code
                    pattern: {type: string, value: SubmissionType}
                    type: string
                    index: 70
                  code:
                    short: This is the Submission Code
                    binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Submission-Types'}
                    index: 71
                  display: {short: This is the display Value for the Submission Code, index: 72}
                  userSelected: {index: 73}
                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: 74
            required: [coding]
        RequestType:
          match:
            coding: {version: RequestType}
          schema:
            index: 75
            extensions: {}
            elements:
              extension: {index: 76}
              coding:
                index: 77
                extensions: {}
                elements:
                  extension: {index: 78}
                  system:
                    pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal'}
                    type: uri
                    index: 79
                  version:
                    short: Type of Code
                    pattern: {type: string, value: RequestType}
                    type: string
                    index: 80
                  code:
                    binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Request-Types'}
                    pattern: {type: string, value: REQUEST-TYPE-INITIAL}
                    type: string
                    index: 81
                  display: {short: This is the display Value for the Request Type, index: 82}
                  userSelected: {index: 83}
                required: [code, display, system]
              text: {index: 84}
            required: [coding]
        ReviewPathway:
          match:
            coding: {version: null}
          schema:
            index: 85
            extensions: {}
            elements:
              extension: {index: 86}
              coding:
                index: 87
                extensions: {}
                elements:
                  extension: {index: 88}
                  system:
                    pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Drug-Review-Pathway'}
                    type: uri
                    index: 89
                  version: {short: Type of Code, index: 90}
                  code:
                    binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Drug-Review-Pathway'}
                    index: 91
                  display: {short: This is the display Value for the Request Type, index: 92}
                  userSelected: {index: 93}
                required: [code, display, system]
              text: {index: 94}
            required: [coding]
        GenericClassification:
          match:
            coding: {version: null}
          schema:
            index: 95
            extensions: {}
            elements:
              extension: {index: 96}
              coding:
                index: 97
                extensions: {}
                elements:
                  extension: {index: 98}
                  system:
                    pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Generic-Classification'}
                    type: uri
                    index: 99
                  version: {short: Type of Code, index: 100}
                  code:
                    binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-New-Generic-Classification'}
                    index: 101
                  display: {short: This is the display Value for the Request Type, index: 102}
                  userSelected: {index: 103}
                required: [code, display, system]
              text: {index: 104}
            required: [coding]
  insurance: {index: 130}
  instantiatesCanonical: {index: 37}
  instantiatesUri: {index: 38}
  relevantHistory: {index: 151}
  asNeeded:
    choices: []
    index: 123
  supportingInfo:
    index: 131
    elements:
      concept: {index: 132}
      reference:
        index: 133
        elements:
          reference: {index: 134}
          type: {index: 135}
          identifier: {index: 136}
          display: {index: 137}
        required: [reference, type]
    required: [reference]
  encounter: {index: 119}
  patientInstruction: {index: 150}
  specimen: {index: 138}
  authoredOn: {index: 124}
  note:
    index: 141
    extensions:
      noteType: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Submission-Note-Type', min: 0, max: 1, type: Extension, index: 143}
    elements:
      extension:
        index: 142
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            noteType:
              match: {url: null}
              schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Submission-Note-Type', index: 143}
              min: 0
              max: 1
      author:
        choices: []
        index: 145
      authorReference: {index: 146}
      authorString: {index: 147}
      time: {index: 148}
      text: {index: 149}
  requisition: {index: 41}
  reason: {index: 129}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        updatedDate:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedDate', index: 17}
          min: 1
          max: 1
        requestBrandName:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-ServiceRequest-BrandName', index: 21}
          min: 0
          max: 1
        requestManufacturer:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedManufacturer', index: 1}
          min: 0
          max: 1
        contactType:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Request-Contact-Type', index: 4}
          min: 0
          max: 1
        availableActions:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/ServiceRequest-Available-Actions', index: 25}
          min: 0
          max: 1
        externalUpdatedDate:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/LastExternalDate', index: 22}
          min: 0
          max: 1
        searchableExtraString:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/SearchableExtraString', index: 13}
          min: 0
          max: 1
        submissionConsent:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedSubmissionConsent', index: 12}
          max: 0
        indication:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Indication', index: 11}
          min: 0
          max: 1
        updatedUser:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedUser', index: 16}
          min: 1
          max: 1
        streamlinedIndicator:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Streamlined-Indicator', index: 9}
          min: 0
          max: 1
        migrationNotes:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/MigrationNotes', index: 18}
          max: 1
        externalIndicator:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-ServiceRequest-External-Indicator', index: 19}
          min: 0
          max: 1
        productMonograph:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Product-Monograph-Complex', index: 8}
          min: 0
        submissionDate:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/ExternalSubmissionDate', index: 23}
          min: 0
          max: 1
        thirdPartySubmitterIndicator:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Third-Party-Submitter-Indicator', index: 3}
          min: 0
          max: 1
        requestBusinessStatus:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Request-Business-Status', index: 10}
          min: 1
          max: 1
        submittingOrganization:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Submitting-Organization', index: 2}
          min: 0
          max: 1
        NOCAnticipatedDate:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/NOC-Anticipated-Date', index: 6}
          min: 0
          max: 1
        NOC:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/NOC-Complex', index: 7}
          min: 0
        medicinalProduct:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Included-Medicinal-Product', index: 5}
          min: 0
        createdUser:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedUser', index: 14}
          min: 1
          max: 1
        createdDate:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedDate', index: 15}
          min: 1
          max: 1
        letterOfIntentIndicator:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/LOI-Indicator', index: 24}
          min: 0
          max: 1
        requestExternalStatus:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-External-Status', index: 20}
          min: 0
          max: 1
  requester:
    type: Reference
    refers: ['https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-PractitionerRole-Contact', 'https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-PractitionerRole-Employee']
    index: 125
  priority: {index: 105}
  status: {index: 42}
  code: {index: 107}
  identifier:
    short: Primary File Number
    index: 26
    extensions: {}
    elements:
      extension: {index: 27}
      use: {index: 28}
      type:
        index: 29
        elements:
          coding:
            elements:
              system: {index: 30}
              code: {index: 31}
              display: {index: 32}
            required: [code, display, system]
      system:
        short: Primary File Number System
        pattern: {type: uri, value: 'urn:idms:request:primaryfilenumber'}
        type: uri
        index: 33
      value: {short: Primary File Number, index: 34}
      period: {index: 35}
      assigner: {index: 36}
    required: [system, use, value]
  doNotPerform: {index: 106}
  bodySite: {index: 139}
  intent:
    pattern: {type: code, value: order}
    type: code
    index: 43
  focus: {index: 118}
  replaces: {index: 40}
  orderDetail:
    index: 108
    extensions: {}
    elements:
      extension: {index: 109}
      modifierExtension: {index: 110}
      parameterFocus: {index: 111}
      parameter:
        index: 112
        extensions: {}
        elements:
          extension: {index: 113}
          modifierExtension: {index: 114}
  basedOn: {index: 39}
  quantity:
    choices: []
    index: 116
  bodyStructure: {index: 140}
  location: {index: 128}
  subject:
    type: Reference
    short: Manufacturer
    refers: ['https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-Group-Request-Contacts']
    index: 117
  occurrence:
    choices: []
    index: 121
  performer:
    type: Reference
    short: Request Modifier
    refers: ['https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-PractitionerRole-Employee']
    index: 127
package_version: 1.0.9
extensions:
  updatedDate: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedDate', min: 1, max: 1, type: Extension, index: 17}
  requestBrandName: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-ServiceRequest-BrandName', min: 0, max: 1, type: Extension, index: 21}
  requestManufacturer: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedManufacturer', min: 0, max: 1, type: Extension, index: 1}
  contactType: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Request-Contact-Type', min: 0, max: 1, type: Extension, index: 4}
  availableActions: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/ServiceRequest-Available-Actions', min: 0, max: 1, type: Extension, index: 25}
  externalUpdatedDate: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/LastExternalDate', min: 0, max: 1, type: Extension, index: 22}
  searchableExtraString: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/SearchableExtraString', min: 0, max: 1, type: Extension, index: 13}
  submissionConsent: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedSubmissionConsent', max: 0, type: Extension, index: 12}
  indication: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Indication', min: 0, max: 1, type: Extension, index: 11}
  updatedUser: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedUser', min: 1, max: 1, type: Extension, index: 16}
  streamlinedIndicator: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Streamlined-Indicator', min: 0, max: 1, type: Extension, index: 9}
  migrationNotes: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/MigrationNotes', max: 1, type: Extension, index: 18}
  externalIndicator: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-ServiceRequest-External-Indicator', min: 0, max: 1, type: Extension, index: 19}
  productMonograph: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Product-Monograph-Complex', min: 0, type: Extension, index: 8}
  submissionDate: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/ExternalSubmissionDate', min: 0, max: 1, type: Extension, index: 23}
  thirdPartySubmitterIndicator: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Third-Party-Submitter-Indicator', min: 0, max: 1, type: Extension, index: 3}
  requestBusinessStatus: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Request-Business-Status', min: 1, max: 1, type: Extension, index: 10}
  submittingOrganization: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Submitting-Organization', min: 0, max: 1, type: Extension, index: 2}
  NOCAnticipatedDate: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/NOC-Anticipated-Date', min: 0, max: 1, type: Extension, index: 6}
  NOC: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/NOC-Complex', min: 0, type: Extension, index: 7}
  medicinalProduct: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Included-Medicinal-Product', min: 0, type: Extension, index: 5}
  createdUser: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedUser', min: 1, max: 1, type: Extension, index: 14}
  createdDate: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedDate', min: 1, max: 1, type: Extension, index: 15}
  letterOfIntentIndicator: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/LOI-Indicator', min: 0, max: 1, type: Extension, index: 24}
  requestExternalStatus: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-External-Status', min: 0, max: 1, type: Extension, index: 20}
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]