Provide Facility as a FHIR Location through FHIR server

Description

A FHIR server is present in OpenLMIS as a microservice ( OLMIS‌-5382 ). We need a way to return facilities as FHIR Locations. This data is already provided by the FHIR server, but additional work needs to be done in order to support OpenLMIS authentication and permission checking on this resource.

Options:

This is similar work done as OLMIS‌-3389; however we are leveraging the HAPI FHIR server to add more resource operations to support mCSD ITI‌-91.

Acceptance Criteria

  • New GET APIs for a Locations resource that gets the data from HAPI FHIR → /hapifhir/Location

  • Only authenticated tokens can access the data

  • Only service-based or API key tokens can access the data

Status

Assignee

Łukasz Lewczyński

Reporter

Chongsun Ahn

Labels

Story Points

5

Time tracking

24h

Sprint

None

Fix versions

Priority

Major
Configure