Provide CCE Inventory as FHIR Device

Description

As an OpenLMIS administrator (Adam), I want my CCE Inventory to have a representation as FHIR Device so that other systems may inter-operate with OpenLMIS by understanding which refrigerators are installed/located at specific Locations ().

From CCE Inventory -> FHIR Device

  • id -> id

  • catalogItem.manufacturer -> manufacturer

  • catalogItem.model -> model

  • facility -> location (this location should be the CCE's facility as expressed as a FHIR Location through OLMIS-3389)

AC:

  • All CCE Inventory are represented as FHIR Devices at `GET /api/Device`

  • CCE Inventory to Facility is navigable by Device.location

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

Assignee

Łukasz Lewczyński

Reporter

Josh Zamor

Story Points

3

Time tracking

12h

Components

Sprint

None

Fix versions

Priority

Major
Configure