diff --git a/src/recordlinker/main.py b/src/recordlinker/main.py index c891fe2c..7528afdd 100644 --- a/src/recordlinker/main.py +++ b/src/recordlinker/main.py @@ -200,6 +200,7 @@ async def link_record( algorithm=algorithm, external_person_id=external_id, ) + #update the bundle updated_bundle = link.add_person_resource( str(new_person_id), pii_record.external_id, input_bundle ) @@ -315,5 +316,4 @@ async def link_fhir( except ValueError: response.status_code = status.HTTP_400_BAD_REQUEST - raise HTTPException(status_code=400, detail="Error: Bad request") - + raise HTTPException(status_code=400, detail="Error: Bad request") \ No newline at end of file