PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.bars.r4@1.35.0
    https://fhir.nhs.uk/MessageDefinition/bars-message-servicerequest-request-referral
{
  "description": null,
  "_filename": "examples/BARS-MessageDefinition-ServiceRequest-Request-Referral.json",
  "package_name": "uk.nhsdigital.bars.r4",
  "date": "2025-03-24",
  "publisher": null,
  "name": "BARS Message Definition ServiceRequest - Request Referral",
  "useContext": [ {
    "code": {
      "code": "workflow",
      "system": "http://terminology.hl7.org/CodeSystem/usage-context-type"
    },
    "valueCodeableConcept": {
      "coding": [ {
        "code": "dos-id",
        "system": "https://fhir.nhs.uk/Id/dos-service-id"
      } ]
    }
  }, {
    "code": {
      "code": "workflow",
      "system": "http://terminology.hl7.org/CodeSystem/usage-context-type"
    },
    "valueCodeableConcept": {
      "coding": [ {
        "code": "a6t3",
        "system": "https://fhir.nhs.uk/CodeSystem/usecases-categories-bars",
        "display": "CAD to CAD Mutual Aid Request"
      } ]
    }
  }, {
    "code": {
      "code": "workflow",
      "system": "http://terminology.hl7.org/CodeSystem/usage-context-type"
    },
    "valueCodeableConcept": {
      "coding": [ {
        "code": "a6t2",
        "system": "https://fhir.nhs.uk/CodeSystem/usecases-categories-bars",
        "display": "CAD to CAD Call Assist Request"
      } ]
    }
  }, {
    "code": {
      "code": "workflow",
      "system": "http://terminology.hl7.org/CodeSystem/usage-context-type"
    },
    "valueCodeableConcept": {
      "coding": [ {
        "code": "a6t1",
        "system": "https://fhir.nhs.uk/CodeSystem/usecases-categories-bars",
        "display": "CAD to CAD Out of Area Request"
      } ]
    }
  } ],
  "type": null,
  "experimental": null,
  "resourceType": "MessageDefinition",
  "title": "BARS Message Definition ServiceRequest - Request Referral",
  "package_version": "1.35.0",
  "status": "active",
  "id": "43815643-512d-488b-b892-5be651d175a8",
  "kind": null,
  "url": "https://fhir.nhs.uk/MessageDefinition/bars-message-servicerequest-request-referral",
  "focus": [ {
    "max": "1",
    "min": 1,
    "code": "Bundle",
    "profile": "https://fhir.nhs.uk/StructureDefinition/BARSBundleMessage"
  }, {
    "max": "1",
    "min": 1,
    "code": "MessageHeader",
    "profile": "https://fhir.nhs.uk/StructureDefinition/BARSMessageHeader-servicerequest-request"
  }, {
    "max": "1",
    "min": 1,
    "code": "ServiceRequest",
    "profile": "https://fhir.nhs.uk/StructureDefinition/BARSServiceRequest-request-referral"
  }, {
    "max": "1",
    "min": 1,
    "code": "Patient",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient"
  }, {
    "max": "1",
    "min": 1,
    "code": "Encounter",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter"
  }, {
    "max": "1",
    "min": 1,
    "code": "CarePlan",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-CarePlan"
  }, {
    "max": "1",
    "min": 0,
    "code": "Location",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/BARSLocation-incident-location"
  }, {
    "max": "*",
    "min": 0,
    "code": "Location",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location"
  }, {
    "max": "*",
    "min": 2,
    "code": "Organization",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
  }, {
    "max": "*",
    "min": 1,
    "code": "Practitioner",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner"
  }, {
    "max": "*",
    "min": 1,
    "code": "PractitionerRole",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole"
  }, {
    "max": "*",
    "min": 0,
    "code": "Observation",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation"
  }, {
    "max": "*",
    "min": 0,
    "code": "Flag",
    "profile": "https://fhir.nhs.uk/StructureDefinition/BARSFlag-scene-safety"
  }, {
    "max": "*",
    "min": 0,
    "code": "Flag",
    "profile": "http://hl7.org/fhir/StructureDefinition/Flag"
  }, {
    "max": "*",
    "min": 0,
    "code": "MedicationStatement",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement"
  }, {
    "max": "*",
    "min": 0,
    "code": "AllergyIntolerance",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-AllergyIntolerance"
  }, {
    "max": "*",
    "min": 0,
    "code": "Questionnaire",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Questionnaire"
  }, {
    "max": "*",
    "min": 0,
    "code": "QuestionnaireResponse",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-QuestionnaireResponse"
  }, {
    "max": "*",
    "min": 1,
    "code": "Consent",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Consent"
  }, {
    "max": "1",
    "min": 1,
    "code": "HealthcareService",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-HealthcareService"
  }, {
    "max": "*",
    "min": 0,
    "code": "Condition",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition"
  }, {
    "max": "*",
    "min": 0,
    "code": "Task",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Task"
  }, {
    "max": "*",
    "min": 0,
    "code": "Communication",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Communication"
  }, {
    "max": "*",
    "min": 0,
    "code": "Procedure",
    "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure"
  } ],
  "version": "1.0.0-beta",
  "eventCoding": {
    "code": "servicerequest-request",
    "system": "https://fhir.nhs.uk/CodeSystem/message-events-bars"
  }
}