PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.bars.r4@1.34.0
    https://fhir.nhs.uk/StructureDefinition/BARSServiceRequest-request-validation
description: BARS ServiceRequest-request Validation profile
package_name: uk.nhsdigital.bars.r4
derivation: constraint
name: BARSServiceRequestRequestValidation
type: ServiceRequest
elements:
  occurrence[x]:
    elements:
      start: {index: 9}
      end: {index: 10}
    required: [start, end]
  category:
    index: 1
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/message-category-servicerequest'}
            index: 2
          code:
            pattern: {type: Code, value: validation}
            index: 3
  supportingInfo: {index: 20}
  encounter: {index: 5}
  reasonCode:
    index: 17
    elements:
      coding: {index: 18}
  authoredOn: {index: 11}
  locationReference: {index: 16}
  requester:
    index: 12
    elements:
      reference: {index: 13}
      type: {index: 14}
  occurrencePeriod: {type: Period, choiceOf: occurrence, index: 8}
  intent:
    pattern: {type: Code, value: plan}
    index: 0
  subject:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient']
    index: 4
  occurrence:
    choices: [occurrencePeriod]
    index: 7
  performer: {index: 15}
  reasonReference: {index: 19}
package_version: 1.34.0
class: profile
kind: resource
url: https://fhir.nhs.uk/StructureDefinition/BARSServiceRequest-request-validation
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest
version: 1.0.2
required: [category]