description: BARS ServiceRequest-request Referral profile package_name: uk.nhsdigital.r4 derivation: constraint name: BARSServiceRequestRequestReferral type: ServiceRequest elements: 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: referral} index: 3 supportingInfo: {index: 18} encounter: {index: 5} reasonCode: index: 15 elements: coding: {index: 16} authoredOn: {index: 9} locationReference: {index: 14} requester: index: 10 elements: reference: {index: 11} type: {index: 12} 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: 13} reasonReference: {index: 17} package_version: 2.5.2 class: profile kind: resource url: https://fhir.nhs.uk/StructureDefinition/BARSServiceRequest-request-referral base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest version: 1.0.3 required: [authoredOn, category]