PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.ereq@1.0.0-ballot
    http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-diagnosticrequest
description: This profile sets minimum expectations for a ServiceRequest resource that is used to record, search, and fetch information about diagnostic requests for a patient. It is based on the [AU Base ServiceRequest](https://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-servicerequest.html) and identifies the additional constraints, extensions, vocabularies and value sets that **SHALL** be present in the ServiceRequest when conforming to this profile.
package_name: hl7.fhir.au.ereq
derivation: constraint
name: AUeRequestingDiagnosticRequest
abstract: true
type: ServiceRequest
elements:
  category: {mustSupport: true, index: 10}
  insurance:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-coverage']
    index: 26
  supportingInfo:
    index: 27
    slicing:
      rules: open
      discriminator:
      - {path: $this.resolve(), type: profile}
      min: null
      slices:
        pregnancyStatus:
          match: {}
          schema:
            constraint:
              au-ereq-srr-02: {human: Pregnancy status shall be pregnant (SNOMED CT code 77386006), source: 'http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-diagnosticrequest', severity: error, expression: '$this.resolve().value.coding.where(system = ''http://snomed.info/sct'' and code = ''77386006'').exists()'}
            short: The patient's pregnancy status
            refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-status-uv-ips']
            type: Reference
            mustSupport: true
            index: 28
          min: 0
          max: 1
        clinicalContext:
          match: {}
          schema:
            short: Clinical context narrative information providing an overview of the patient's current clinical situation
            refers: ['http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference']
            type: Reference
            mustSupport: true
            array: true
            index: 29
          min: 0
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter']
    index: 19
    elements:
      reference: {index: 20}
    required: [reference]
  reasonCode: {mustSupport: true, index: 25}
  authoredOn:
    constraint:
      au-ereq-srr-01: {human: 'Date shall include at least year, month, and day', source: 'http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-diagnosticrequest', severity: error, expression: $this.toString().length() >= 10}
    mustSupport: true
    index: 23
  note: {mustSupport: true, index: 31}
  requisition:
    type: Identifier
    mustSupport: true
    index: 6
    elements:
      type:
        elements:
          coding:
            pattern:
              type: Coding
              value: {code: PGN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            type: Coding
            index: 7
        required: [coding]
  extension:
    index: 0
    slicing:
      slices:
        sexParameterForClinicalUse:
          match: {}
          schema: {mustSupport: true, index: 1}
          max: 1
        statusReason:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/request-statusReason', index: 2}
          min: 0
          max: 1
        displaySequence:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-displaysequence', index: 3}
          min: 1
          max: 1
        fastingPrecondition:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-fastingprecondition', index: 4}
          min: 0
          max: 1
  requester:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole']
    index: 24
  priority: {mustSupport: true, index: 11}
  status:
    short: The status of the request
    binding: {strength: required, valueSet: 'http://terminology.hl7.org.au/ValueSet/au-erequesting-request-status'}
    mustSupport: true
    index: 8
  code:
    mustSupport: true
    index: 12
    elements:
      text: {index: 13}
    required: [text]
  identifier: {mustSupport: true, index: 5}
  bodySite: {mustSupport: true, index: 30}
  intent:
    mustSupport: true
    pattern: {type: code, value: order}
    type: code
    index: 9
  quantityRange: {type: Range, short: 'An informative value indicating the number of fulfilments requested. If not provided the quantity is 1. For Rule 3 Exemption, this value may be greater than 1; however, the server does not currently support tracking multiple fulfilments from a single order.', mustSupport: true, choiceOf: quantity, index: 17}
  quantityQuantity: {type: Quantity, short: 'An informative value indicating the number of fulfilments requested. If not provided the quantity is 1. For Rule 3 Exemption, this value may be greater than 1; however, the server does not currently support tracking multiple fulfilments from a single order.', mustSupport: true, choiceOf: quantity, index: 16}
  quantity:
    short: An informative value indicating the number of fulfilments requested. If not provided the quantity is 1. For Rule 3 Exemption, this value may be greater than 1; however, the server does not currently support tracking multiple fulfilments from a single order.
    mustSupport: true
    choices: [quantityQuantity, quantityRange]
    index: 15
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient']
    index: 18
  occurrence:
    short: 'This may be used to cover three needs: 1. A target date for the test to be performed. 2. A date range for the test to be performed (possible Rule 3 Exemption use). 3. A frequency for the test to be performed (more complex Rule 3 Exemption use). The server will not process this information which is informative only and there is no alignment to diagnostic service regulations or policy.'
    mustSupport: true
    choices: []
    index: 22
package_version: 1.0.0-ballot
extensions:
  sexParameterForClinicalUse: {url: null, max: 1, mustSupport: true, index: 1}
  statusReason: {url: 'http://hl7.org/fhir/StructureDefinition/request-statusReason', min: 0, max: 1, type: Extension, mustSupport: true, index: 2}
  displaySequence: {url: 'http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-displaysequence', min: 1, max: 1, type: Extension, mustSupport: true, index: 3}
  fastingPrecondition: {url: 'http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-fastingprecondition', min: 0, max: 1, type: Extension, mustSupport: true, index: 4}
class: profile
kind: resource
url: http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-diagnosticrequest
base: http://hl7.org.au/fhir/StructureDefinition/au-servicerequest
version: 1.0.0-ballot
required: [authoredOn, category, code, encounter, extension, requester, requisition]