Skip to content

Commit

Permalink
adding choice to restore local patient
Browse files Browse the repository at this point in the history
  • Loading branch information
Filienko committed Nov 30, 2023
1 parent cac1571 commit 4ba6cba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patientsearch/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,10 @@ def external_search(resource_type):
as additional search criteria.
i.e. /Patient?subject:Patient.name.given=luke&subject:Patient.birthdate=eq1977-01-12
"""
"""
token = validate_auth()

reinstate_patient: bool = request.args[-1]
reinstate_patient = False
# Tag any matching results with identifier naming source
try:
external_search_bundle = add_identifier_to_resource_type(
Expand Down
2 changes: 2 additions & 0 deletions patientsearch/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
internal_patient_search,
new_resource_hook,
sync_bundle,
restore_patient,
)

__all__ = [
Expand All @@ -16,4 +17,5 @@
"internal_patient_search",
"new_resource_hook",
"sync_bundle",
"restore_patient"
]

0 comments on commit 4ba6cba

Please sign in to comment.