You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VED-1054: Add API documentation for search by disease type (#1276)
* Modified Immunisation FHIR API documentation to include target disease search functionality
- Updated the API specification to clarify the use of the new `target-disease` parameter alongside `-immunization.target` for searching vaccination records.
- Improved descriptions for both parameters to ensure clear guidelines on their usage and mutual exclusivity.
- Added examples and links to supported target disease codes to aid developers in implementing the search feature effectively.
- Ensured consistency in error handling documentation for invalid parameter combinations.
* Refine Immunisation FHIR API documentation for target disease parameter
- Updated descriptions for the `target-disease` parameter to clarify its expression format as `system|code`.
- Ensured consistency in language throughout the documentation to enhance clarity for developers implementing the search functionality.
- Maintained links to the supported target disease list for reference.
Comma-separated for multiple (OR). Cannot be used with
4276
+
-immunization.target or identifier. For patient search, one of
4277
+
-immunization.target or target-disease is required. Returns
4278
+
vaccinations that protect against the given disease(s), including
4279
+
combination vaccines (e.g. MMR, MMRV for measles).
4272
4280
example: "http://snomed.info/sct|14189004"
4273
4281
"-date.from":
4274
4282
type: string
@@ -4381,11 +4389,16 @@ components:
4381
4389
in: query
4382
4390
name: target-disease
4383
4391
description: |
4384
-
FHIR-compliant search by target disease. Value must be in the format system|code where
4385
-
system MUST be http://snomed.info/sct and code MUST be a SNOMED code from the supported
4386
-
target disease list. Multiple comma-separated values allowed (OR). Cannot be used with
4387
-
-immunization.target or identifier. Returns vaccinations that protect against the given
4388
-
disease(s), including combination vaccines (e.g. MMR, MMRV for measles).
4392
+
Search by target disease using FHIR-compliant SNOMED codes. Use this parameter to
4393
+
retrieve vaccinations that protect against specific disease(s), including combination
4394
+
vaccines (e.g. MMR or MMRV when searching for measles).
4395
+
4396
+
Expressed as `system|code` where system MUST be `http://snomed.info/sct` and code MUST be
4397
+
a SNOMED code from the [supported target disease list](https://digital.nhs.uk/developer/guides-and-documentation/building-healthcare-software/vaccinations/coding-for-vaccination-disease-types#how-this-applies-to-vaccinations-submitted-to-the-api).
4398
+
Multiple comma-separated values are allowed (OR). Cannot be used with
4399
+
-immunization.target or identifier. For patient search, one of -immunization.target
4400
+
or target-disease is required. Invalid or unsupported codes may result in
4401
+
OperationOutcome entries in the response or 400 when all values are invalid.
0 commit comments