PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.ereq@0.2.0-preview
    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 Diagnostic Request](https://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-diagnosticrequest.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: 6}
  insurance:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-coverage']
    index: 16
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter']
    index: 11
    elements:
      reference: {index: 12}
    required: [reference]
  reasonCode: {mustSupport: true, index: 15}
  authoredOn:
    constraint:
      au-ereq-srr-01: {human: 'Date must 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: 13
  note: {mustSupport: true, index: 18}
  requisition:
    type: Identifier
    mustSupport: true
    index: 2
    elements:
      type:
        elements:
          coding:
            pattern:
              type: Coding
              value: {code: PGN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            index: 3
        required: [coding]
  extension:
    type: Extension
    mustSupport: true
    url: http://hl7.org/fhir/StructureDefinition/request-statusReason
    index: 0
    slicing:
      slices:
        statusReason:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/request-statusReason', index: 0}
          min: 0
          max: 1
  requester:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole']
    index: 14
  priority: {mustSupport: true, index: 7}
  status:
    binding: {strength: required, valueSet: 'http://hl7.org.au/fhir/ereq/ValueSet/au-erequesting-request-status'}
    mustSupport: true
    index: 4
  code:
    mustSupport: true
    index: 8
    elements:
      text: {index: 9}
    required: [text]
  identifier: {mustSupport: true, index: 1}
  bodySite: {mustSupport: true, index: 17}
  intent:
    mustSupport: true
    pattern: {type: Code, value: order}
    index: 5
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient']
    index: 10
package_version: 0.2.0-preview
extensions:
  statusReason: {url: 'http://hl7.org/fhir/StructureDefinition/request-statusReason', min: 0, max: 1, type: Extension, mustSupport: true, index: 0}
class: profile
kind: resource
url: http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-diagnosticrequest
base: http://hl7.org.au/fhir/StructureDefinition/au-diagnosticrequest
version: 0.2.0-preview
required: [authoredOn, requester, requisition, encounter, category, code]