You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Steps to reproduce the behavior:
I'm using the following Python function to retrieve a list of the most recently updated patient IDs
deffhir_patient_list():
"""Get a list of patients from the HAPI server and display them to the user"""client=SyncFHIRClient("http://hapi.fhir.org/baseR4")
try:
patients=client.resources("Patient").sort("-_lastUpdated").limit(100).fetch()
patient_list= []
forpatientinpatients:
patient_list.append(
{
"id": patient.id,
}
)
# print(patient_list)returnrender_template("fhir_patient_list.html", patients=patient_list)
exceptExceptionase:
flash("Error fetching patient list: "+str(e), "alert-danger")
returnredirect(url_for("index"))
The server returns an error I'm rendering in jinja:
Error fetching patient list: { "resourceType": "OperationOutcome", "issue": [ { "severity": "fatal", "code": "invalid", "diagnostics": "Error" } ], "text": { "status": "generated", "div": "Something went wrong" } }
Expected behavior
I was expecting to be able to get a list of the last 100 most recently updated patient IDs from the HAPI FHIR Server
Screenshots
Environment (please complete the following information):
HAPI FHIR Version: HAPI FHIR Public Test server (7.8.0)
OS: Windows 11 and Android
Browser: Edge & Chrome on Android
Additional context
Thank you for providing an Excellent Service to the public
The text was updated successfully, but these errors were encountered:
NOTE: Before filing a ticket, please see the following URL:
https://github.com/hapifhir/hapi-fhir/wiki/Getting-Help
Describe the bug
Server sending a 502 error.http://hapi.fhir.org/
To Reproduce
Steps to reproduce the behavior:
I'm using the following Python function to retrieve a list of the most recently updated patient IDs
The server returns an error I'm rendering in jinja:
Error fetching patient list: { "resourceType": "OperationOutcome", "issue": [ { "severity": "fatal", "code": "invalid", "diagnostics": "Error" } ], "text": { "status": "generated", "div": "Something went wrong" } }
Expected behavior
I was expecting to be able to get a list of the last 100 most recently updated patient IDs from the HAPI FHIR Server
Screenshots
Environment (please complete the following information):
Additional context
Thank you for providing an Excellent Service to the public
The text was updated successfully, but these errors were encountered: