PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.ereq@0.1.0-ballot
    http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-servicerequest
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: AUeRequestingServiceRequest
type: ServiceRequest
elements:
  category: {mustSupport: true, index: 7}
  insurance:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/StructureDefinition/au-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-servicerequest', severity: error, expression: '$this.toString().matches(''^[0-9]{4}-[0-9]{2}-[0-9]{2}$'')'}
    mustSupport: true
    index: 13
  note: {mustSupport: true, index: 17}
  requisition:
    type: Identifier
    mustSupport: true
    index: 1
    elements:
      type:
        elements:
          coding:
            index: 2
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 3
              code:
                pattern: {type: Code, value: PGN}
                index: 4
        required: [coding]
  requester:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole']
    index: 14
  status: {mustSupport: true, index: 5}
  code:
    mustSupport: true
    index: 8
    elements:
      text: {index: 9}
    required: [text]
  identifier: {mustSupport: true, index: 0}
  intent:
    mustSupport: true
    pattern: {type: Code, value: order}
    index: 6
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient']
    index: 10
package_version: 0.1.0-ballot
class: profile
kind: resource
url: http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-servicerequest
base: http://hl7.org.au/fhir/StructureDefinition/au-diagnosticrequest
version: 0.1.0-ballot
required: [authoredOn, requester, requisition, category, code]