Provide Facility as FHIR Location

Description

As an OpenLMIS administrator, I want my Facilities to have a representation as FHIR Location so that other systems may inter-operate with OpenLMIS through the OpenHIE mCSD profile.

From Facility -> Location:

  • id -> id

  • code -> alias

  • name -> name

  • description -> description

  • geographicZone -> partOf (to parent geographic zone as a FHIR Location)

  • type -> identifier (see examples for using the levels URI and UUID)

  • operator -> identifier (see examples for using the levels URI and UUID)

  • active -> status

  • supportedPrograms -> identifier (see examples for using the levels URI and UUID)

  • location -> position

Also include:

AC:

  • All facilities are represented as FHIR locations at `GET /api/Location`

  • Facility to Geographic zone is naviagable by Location.partOf

  • don't bother with etags, returning a single resource (e.g. `/api/Location/{id}`), paging or building search capabilities

  • don't bother with operations other than GET

Activity

Show:
Mateusz Kwiatkowski
January 18, 2018, 1:09 PM

On what property should be physical type based?

Klaudia Pałkowska
January 29, 2018, 12:46 PM

I tested the ticket and everything works correctly.

Done

Assignee

Paweł Albecki

Reporter

Josh Zamor

Labels

Story Points

3

Time tracking

0m

Time remaining

0m

Components

Sprint

None

Fix versions

Priority

Major