Closed Wambere closed 4 weeks ago
json payload
{
"resourceType": "List",
"id": "$id",
"status": "$status",
"title": "$title",
"code": {
"coding": [
{
"system" : "http://smartregister.org/codes",
"code" : "22138876",
"display": "Supply Inventory List"
}
],
"text": "Supply Inventory List"
},
"subject": {"reference": "Location/$location_id"},
"entry": [
{
"flag": {
"coding": [
{
"system" : "http://smartregister.org/codes",
"code" : "22138876" ,
"display": "Supply Inventory List"
}
],
"text": "Supply Inventory List"
},
"date": "$supply_date",
"item": {"reference": "Group/$inventory_id"}
}
]
}
Potential csv below Mapping to the json payload in the comment above
Column | Source |
---|---|
id | input or generated |
status | ?? |
title | ?? |
location_id | ?? |
inventories array [ supply_date:inventory_id ] | ?? |
@dubdabasoduba @ageryck @AnnieMungai
Linked to https://github.com/onaio/fhir-tooling/issues/157
This issue tracks the assigning of inventories to locations
@dubdabasoduba is there an endpoint for this?