Skip to content

Commit

Permalink
Add healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ir4y committed Sep 18, 2024
1 parent 2626524 commit d89267a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/fhir_server/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,8 @@ async def populate_questionnaire_instance(request: web.BaseRequest):
@routes.post("/Questionnaire/$resolve-expression")
async def resolve_expression_operation_handler(request: web.BaseRequest):
return web.json_response(resolve_expression(await request.json()))


@routes.get("/healthcheck")
async def healthcheck(request: web.BaseRequest):
return web.json_response({"status": "ok"})

0 comments on commit d89267a

Please sign in to comment.