Skip to content

Commit c43ce02

Browse files
committed
Renamed helper
1 parent 13d49df commit c43ce02

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lambdas/recordforwarder/src/service/fhir_batch_service.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
EMIS_V5_SUPPLIER_IDENTIFIER_SYSTEM = "https://emishealth.com/identifiers/vacc"
1111

1212

13-
def _uplift_legacy_identifier(immunization: dict):
13+
def uplift_legacy_identifier(immunization: dict):
1414
# This code the above constants can be safely removed once DPS carries out it's data migration to update legacy
1515
# identifiers as it will become redundant. Please see issue VED-904 for more information.
1616
identifier_system = immunization["identifier"][0]["system"]
@@ -46,7 +46,7 @@ def create_immunization(
4646
"""
4747

4848
# TODO: Remove after DPS data migration to new identifiers
49-
_uplift_legacy_identifier(immunization)
49+
uplift_legacy_identifier(immunization)
5050

5151
try:
5252
self.validator.validate(immunization)
@@ -70,7 +70,7 @@ def update_immunization(
7070
"""
7171

7272
# TODO: Remove after DPS data migration to new identifiers
73-
_uplift_legacy_identifier(immunization)
73+
uplift_legacy_identifier(immunization)
7474

7575
try:
7676
self.validator.validate(immunization)
@@ -94,6 +94,6 @@ def delete_immunization(
9494
"""
9595

9696
# TODO: Remove after DPS data migration to new identifiers
97-
_uplift_legacy_identifier(immunization)
97+
uplift_legacy_identifier(immunization)
9898

9999
return self.immunization_repo.delete_immunization(immunization, supplier_system, vax_type, table, is_present)

0 commit comments

Comments
 (0)