Skip to content

Commit d0f753e

Browse files
committed
VED-736: remove contained and add use official2
1 parent 2162153 commit d0f753e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

backend/src/models/utils/generic_utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ def form_json(response, _element, identifier, baseurl):
152152
# Full Immunization payload to be returned if only the identifier parameter was provided
153153
if identifier and not _element:
154154
resource = response["resource"]
155-
resource.pop("contained", None)
156-
if "use" not in response["identifier"][0]:
157-
resource["identifier"][0]["use"] = "official"
158155

159156
elif identifier and _element:
160157
element = {e.strip().lower() for e in _element.split(",") if e.strip()}

0 commit comments

Comments
 (0)