We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 770e712 commit e601867Copy full SHA for e601867
backend/src/fhir_service.py
@@ -151,7 +151,8 @@ def update_immunization(
151
152
vaccination_type = get_vaccine_type(immunization)
153
154
- # If the user is updating the vaccination_type, they must have permissions for both the new and old type
+ # If the user is updating the resource vaccination_type, they must have permissions for both the existing and
155
+ # new type. In most cases it will be the same, but it is possible for users to update the vacc type
156
if not self.authoriser.authorise(supplier_system, ApiOperationCode.UPDATE,
157
{vaccination_type, existing_resource_vacc_type}):
158
raise UnauthorizedVaxError()
0 commit comments