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 8a60d5d commit 30be07b
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 @@ -249,3 +249,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 30be07b

Please sign in to comment.