PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4.test@2.15.0-prerelease
    https://fhir.nhs.uk/StructureDefinition/England-RequestGroup
description: This profile defines the NHS England constraints and extensions on the International FHIR resource [RequestGroup](https://hl7.org/fhir/R4/requestgroup.html).
package_name: uk.nhsdigital.r4.test
derivation: constraint
name: EnglandRequestGroup
type: RequestGroup
elements:
  extension:
    type: Extension
    short: Dispensing Prescription Status
    isModifier: false
    url: https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionStatusHistory
    index: 0
    slicing:
      slices:
        prescriptionStatusHistory:
          match: {}
          schema: {type: Extension, short: Dispensing Prescription Status, isModifier: false, url: 'https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionStatusHistory', index: 0}
        repeatInformation:
          match: {}
          schema: {type: Extension, short: An extension use to record both the instance and the maximum number of repeat allowed for a prescription., isModifier: false, url: 'https://fhir.nhs.uk/StructureDefinition/Extension-EPS-RepeatInformation', index: 1}
        NHSBSAprescriptionType:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType', index: 2}
  action:
    elements:
      participant:
        constraint:
          nhse-requsetgrp-001: {human: If extension-ParticipantType R5 Backport is used then RequestGroup.action.participant  SHALL be empty., severity: error, expression: 'RequestGroup.action.participant.empty() or RequestGroup.action.participant.extension(''http://hl7.org/fhir/5.0/StructureDefinition/extension-RequestOrchestration.action.participant.typeReference'').empty()', requirements: 'Only one of RequestGroup.action.participant or RequestGroup.action.participant.extension:participantR5 can be populated at a time.'}
        index: 3
        extensions:
          participantR5: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-RequestOrchestration.action.participant.typeReference', max: 1, type: Extension, short: An extension use to record the type of a participant designated to perform an action., isModifier: false, index: 4}
        elements:
          extension:
            type: Extension
            short: An extension use to record the type of a participant designated to perform an action.
            isModifier: false
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-RequestOrchestration.action.participant.typeReference
            index: 4
            slicing:
              slices:
                participantR5:
                  match: {}
                  schema: {type: Extension, short: An extension use to record the type of a participant designated to perform an action., isModifier: false, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-RequestOrchestration.action.participant.typeReference', index: 4}
                  max: 1
package_version: 2.15.0-prerelease
extensions:
  prescriptionStatusHistory: {url: 'https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionStatusHistory', type: Extension, short: Dispensing Prescription Status, isModifier: false, index: 0}
  repeatInformation: {url: 'https://fhir.nhs.uk/StructureDefinition/Extension-EPS-RepeatInformation', type: Extension, short: An extension use to record both the instance and the maximum number of repeat allowed for a prescription., isModifier: false, index: 1}
  NHSBSAprescriptionType: {url: 'https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType', type: Extension, isModifier: false, index: 2}
class: profile
kind: resource
url: https://fhir.nhs.uk/StructureDefinition/England-RequestGroup
base: http://hl7.org/fhir/StructureDefinition/RequestGroup
version: 0.1.0