{
  "resourceType": "MessageDefinition",
  "id": "c925d2af-2903-4760-a6fc-31fb315dd310",
  "url": "https://fhir.nhs.uk/MessageDefinition/bars-message-servicerequest-response-referral-short",
  "version": "1.0.0-beta",
  "name": "BARS Message Definition ServiceRequest - Response Referral Short",
  "title": "BARS Message Definition ServiceRequest - Response Referral Short",
  "status": "active",
  "date": "2026-03-24",
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "workflow"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "https://fhir.nhs.uk/Id/dos-service-id",
            "code": "dos-id"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "workflow"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "https://fhir.nhs.uk/CodeSystem/usecases-categories-bars",
            "code": "a6t1",
            "display": "CAD to CAD Out of Area Referral"
          }
        ]
      }
    }
  ],
  "eventCoding": {
    "system": "https://fhir.nhs.uk/CodeSystem/message-events-bars",
    "code": "servicerequest-response"
  },
  "focus": [
    {
      "code": "Bundle",
      "profile": "https://fhir.nhs.uk/StructureDefinition/BARSBundleMessage",
      "min": 1,
      "max": "1"
    },
    {
      "code": "MessageHeader",
      "profile": "https://fhir.nhs.uk/StructureDefinition/BARSMessageHeader-servicerequest-response",
      "min": 1,
      "max": "1"
    },
    {
      "code": "ServiceRequest",
      "profile": "https://fhir.nhs.uk/StructureDefinition/BARSServiceRequest-request-referral",
      "min": 1,
      "max": "1"
    },
    {
      "code": "Patient",
      "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
      "min": 1,
      "max": "1"
    },
    {
      "code": "Encounter",
      "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter",
      "min": 2,
      "max": "2"
    },
    {
      "code": "Organization",
      "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization",
      "min": 2,
      "max": "*"
    },
    {
      "code": "Practitioner",
      "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
      "min": 1,
      "max": "*"
    },
    {
      "code": "PractitionerRole",
      "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole",
      "min": 1,
      "max": "*"
    },
    {
      "code": "HealthcareService",
      "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-HealthcareService",
      "min": 0,
      "max": "*"
    }
  ]
}