diff --git a/sandbox/src/mocks/stu3/patientServiceSearch/requests/SpcMinimal.json b/sandbox/src/mocks/stu3/patientServiceSearch/requests/SpcMinimal.json index 42be176ce..374b5cc41 100644 --- a/sandbox/src/mocks/stu3/patientServiceSearch/requests/SpcMinimal.json +++ b/sandbox/src/mocks/stu3/patientServiceSearch/requests/SpcMinimal.json @@ -72,6 +72,13 @@ } ] } + }, + { + "name": "commissioningRuleOrganisation", + "valueIdentifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "R69" + } } ] } diff --git a/specification/components/stu3/schemas/eRS-PatientServiceSearch-Parameters.yaml b/specification/components/stu3/schemas/eRS-PatientServiceSearch-Parameters.yaml index 8d2e79727..d02e4dc27 100644 --- a/specification/components/stu3/schemas/eRS-PatientServiceSearch-Parameters.yaml +++ b/specification/components/stu3/schemas/eRS-PatientServiceSearch-Parameters.yaml @@ -34,7 +34,7 @@ properties: | `Patient` | `1..1` | | | `SearchCriteria` | `1..1` | | | `ReferringClinician` | `0..1` | | - | `CommissioningRuleOrganisation` | `0..1` | Required if searching for services for an existing Referral. This field should be provided using the returned Commissioning Rule Organisation already included on the Referral to ensure the services returned are valid. Note this field is not supported when searching with the `ADVICE_AND_GUIDANCE_REQUEST` request type. | + | `CommissioningRuleOrganisation` | `0..1` | Required if searching for services for an existing Referral, including `SERVICE_PROVIDER_CLINICIAN` and `SERVICE_PROVIDER_CLINICIAN_ADMIN` searches. This field should be provided using the returned Commissioning Rule Organisation already included on the Referral to ensure the services returned are valid. Note this field is not supported when searching with the `ADVICE_AND_GUIDANCE_REQUEST` request type. | | `Ubrn` | `0..1` | Mandatory for `SERVICE_PROVIDER_CLINICIAN` and `SERVICE_PROVIDER_CLINICIAN_ADMIN` requests. This parameter is ignored for `REFERRING_CLINICIAN` and `REFERRING_CLINICIAN_ADMIN` requests. | items: anyOf: