PackagesCanonicalsLogsProblems
    Packages
    fhir.nhs.uk.stu3.assets@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/eRS-ReferralRequest-1
description: null
package_name: fhir.nhs.uk.stu3.assets
derivation: constraint
name: eRS-ReferralRequest-1
type: ReferralRequest
elements:
  description: {index: 39}
  definition: {index: 14}
  relevantHistory: {index: 44}
  specialty:
    index: 28
    elements:
      coding:
        short: eRS dynamic Valueset
        index: 29
        elements:
          system: {short: Identity of the eRS system, index: 30}
          version: {index: 31}
          code: {short: Code displayed in the eRS system for Specialty, index: 32}
          display: {index: 33}
          userSelected: {index: 34}
        required: [display, system, code]
      text: {index: 35}
    required: [coding]
  supportingInfo:
    type: Reference
    short: Additonal information to support referral request
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/eRS-CommunicationRequest-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/eRS-ReferralRequest-1']
    index: 40
    elements:
      reference: {short: Relative URL reference to the resource containing supporting information, index: 41}
      identifier: {index: 42}
    required: [reference]
  recipient: {index: 36}
  reasonCode: {index: 37}
  type: {index: 19}
  authoredOn: {index: 26}
  note: {index: 43}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        eReferralPathwayStart:
          match: {url: null}
          schema: {type: Extension, url: h, index: 10}
        eRSAppointmentReference:
          match: {url: null}
          schema: {type: Extension, url: h, index: 7}
        clinicalInfoLastUpdated:
          match: {url: null}
          schema: {type: Extension, short: Date and time the clinical information was last updated, url: h, index: 3}
          max: 1
        shortlist:
          match: {url: null}
          schema: {type: Extension, url: h, index: 6}
          max: 1
        commissioningRuleOrg:
          match: {url: null}
          schema: {type: Extension, short: The determination is made for the initial request when that initial request is created., url: h, index: 5}
          min: 0
        eRSAppointment:
          match: {url: null}
          schema: {type: Extension, short: Relative URL reference to the Appointment resource, url: h, index: 1}
          max: 1
        clinicalInfoFirstSubmitted:
          match: {url: null}
          schema: {type: Extension, short: Date and time the clinical information was first submitted, url: h, index: 2}
          max: 1
        patientAdditionalRequirement:
          match: {url: null}
          schema: {type: Extension, url: h, index: 9}
          max: 3
        referralState:
          match: {url: null}
          schema: {type: Extension, url: h, index: 8}
          max: 1
        referralPriority:
          match: {url: null}
          schema: {type: Extension, url: h, index: 4}
          min: 0
  requester: {index: 27}
  serviceRequested: {index: 21}
  priority: {index: 20}
  status: {short: draft | active | cancelled | completed, index: 18}
  groupIdentifier: {index: 17}
  identifier:
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        eRSRequestId:
          match: {system: 'https://fhir.nhs.uk/Id/ers-request-id'}
          schema:
            index: 12
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/ers-request-id'}
                index: 13
  context: {index: 23}
  replaces: {index: 16}
  basedOn: {index: 15}
  subject: {type: Reference, short: The Patient who is the subject of the Referral Request, index: 22}
  occurrence:
    choices: []
    index: 25
  reasonReference: {index: 38}
package_version: 1.0.0
extensions:
  eReferralPathwayStart: {url: h, type: Extension, index: 10}
  eRSAppointmentReference: {url: h, type: Extension, index: 7}
  clinicalInfoLastUpdated: {url: h, max: 1, type: Extension, short: Date and time the clinical information was last updated, index: 3}
  shortlist: {url: h, max: 1, type: Extension, index: 6}
  commissioningRuleOrg: {url: h, min: 0, type: Extension, short: The determination is made for the initial request when that initial request is created., index: 5}
  eRSAppointment: {url: h, max: 1, type: Extension, short: Relative URL reference to the Appointment resource, index: 1}
  clinicalInfoFirstSubmitted: {url: h, max: 1, type: Extension, short: Date and time the clinical information was first submitted, index: 2}
  patientAdditionalRequirement: {url: h, max: 3, type: Extension, index: 9}
  referralState: {url: h, max: 1, type: Extension, index: 8}
  referralPriority: {url: h, min: 0, type: Extension, index: 4}
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/eRS-ReferralRequest-1
base: http://hl7.org/fhir/StructureDefinition/ReferralRequest
version: 1.1.0