description: Within the Clinical Decision Support API implementation, the CareConnect-ReferralRequest-1 profile will be used to carry the outcome of triage recommendation to another service for a patient. package_name: Test.Training derivation: constraint name: CareConnect-UEC-ER-ReferralRequest-1 type: ReferralRequest elements: supportingInfo: {index: 24} recipient: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/HealthcareService', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1'] index: 21 reasonCode: {index: 22} type: {index: 11} authoredOn: {index: 17} note: elements: author: choices: [authorString, authorReference, authorReference, authorReference] index: 26 authorString: {type: string, choiceOf: author, index: 27} authorReference: type: Reference choiceOf: author refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1'] index: 28 extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: referralRequestMethod: match: {url: null} schema: {type: Extension, url: h, index: 1} max: 1 sourceOfReferral: match: {url: null} schema: {type: Extension, url: h, index: 2} max: 1 requester: index: 18 elements: agent: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-RelatedPerson-1'] index: 19 onBehalfOf: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 20 serviceRequested: {index: 13} priority: pattern: {type: Code, value: routine} index: 12 occurrencePeriod: type: Period index: 16 slicing: slices: occurrencePeriod: match: {} schema: {type: Period, _required: true, index: 16} min: 1 groupIdentifier: index: 8 elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 9 identifier: elements: system: {index: 3} value: {index: 4} assigner: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 5 required: [value, system] context: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-UEC-Encounter-1'] index: 15 intent: pattern: {type: Code, value: plan} index: 10 replaces: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-ReferralRequest-1'] index: 7 basedOn: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/ReferralRequest'] index: 6 subject: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1'] index: 14 reasonReference: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Condition'] index: 23 package_version: 1.0.0 extensions: referralRequestMethod: {url: h, max: 1, type: Extension, index: 1} sourceOfReferral: {url: h, max: 1, type: Extension, index: 2} class: profile kind: resource url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-UEC-ER-ReferralRequest-1 base: http://hl7.org/fhir/StructureDefinition/ReferralRequest version: 1.0.0 required: [authoredOn, priority, requester, basedOn, recipient, context, supportingInfo, occurrencePeriod, reasonReference]