-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EUSM]: Add the a Location Inventory Creation page #1342
Comments
valueset values source for the donor, and unicef sections : #1338 (comment) |
This comment was marked as resolved.
This comment was marked as resolved.
@dubdabasoduba This is what I think we should probably end up with for an inventory group resource {
"resourceType": "Group",
"id": "e44e26d0-1f7a-41d6-aa57-99c5712ddd66",
// no need identifiers
"active": true,
"type": "substance",
"actual": false,
"code": {
"coding": [
{
"system": "http://smartregister.org/",
"code": "78991122",
"display": "Supply Inventory"
}
]
},
"name": "Kiambu -- Bed nets",
"characteristic": [
{
"code": {
"coding": [
{
"system": "http://smartregister.org/",
"code": "09887657",
"display": "Delivery and Accountability"
}
]
},
"valuePeriod": {
"start": "2024-02-01T00:00:00.00Z",
"end": "2024-02-01T00:00:00.00Z"
}
},
{
"code": {
"coding": [
{
"system": "http://smartregister.org/", // refactored from snomed
"code": "98734231",
"display": "Unicef Section"
}
]
},
"valueCodeableConcept": {
"coding": [
// showing the source codeSystem instead of generic data capture coding
{
"system": "http://smartregister.org/CodeSystem/eusm-unicef-sections",
"code": "Health",
"display": "Health"
}
],
"text": "Health"
}
},
{
"code": {
"coding": [
{
"system": "http://smartregister.org/", // refactored from snomed
"code": "45647484",
"display": "Donor"
}
]
},
"valueCodeableConcept": {
"coding": [
// showing the source codeSystem instead of generic data capture coding
{
"system": "http://smartregister.org/CodeSystem/eusm-donors",
"code": "GAVI",
"display": "GAVI"
}
],
"text": "GAVI"
}
},
{
"code": {
"coding": [
{
"system": "http://smartregister.org/",
"code": "33467722",
"display": "Product reference"
}
]
},
"valueReference": {
"reference": "Group/52cffa51-fa81-49aa-9944-5b45d9e4c117"
}
}
]
} |
Also since we are seemingly not able to {
"resourceType": "Group",
"id": "e44e26d0-1f7a-41d6-aa57-99c5712ddd66",
"active": true,
"type": "substance",
"actual": false,
"code": {
"coding": [
{
"system": "http://smartregister.org/",
"code": "78991122",
"display": "Supply Inventory"
}
]
},
"name": "Kiambu -- Bed nets",
"member": [
{
"entity": {
"reference":"Group/52cffa51-fa81-49aa-9944-5b45d9e4c117"
},
"period": {
"start": "2024-02-01T00:00:00.00Z",
"end": "2024-02-01T00:00:00.00Z"
},
"inactive": false
}
],
"characteristic": [
{
"code": {
"coding": [
{
"system": "http://smartregister.org/",
"code": "98734231",
"display": "Unicef Section"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://smartregister.org/CodeSystem/eusm-unicef-sections",
"code": "Health",
"display": "Health"
}
],
"text": "Health"
}
},
{
"code": {
"coding": [
{
"system": "http://smartregister.org/",
"code": "45647484",
"display": "Donor"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://smartregister.org/CodeSystem/eusm-donors",
"code": "GAVI",
"display": "GAVI"
}
],
"text": "GAVI"
}
}
]
} I understand this will also hugely affect work elsewhere, but I think might be a worthy optimization. This would help us on the web to instead of -> fetching the List and include the inventory groups(say they are N in number) We could -> fetch List, or even fetch everything(the inventory list, include the inventory groups, as well as the product groups) in a single go like so: |
@peterMuriuki We use on of the identifiers to store the PO Number. We can add the |
@peterMuriuki this makes sense to me |
@peterMuriuki Since the OpenSRP 2 mobile application syncs by the For this reason, I think we need to do the same thing we did for the Commodity Module. Issue Context?
Issue Implementation details?
{
"resourceType": "List",
"id": "ea15c35a-8e8c-47ce-8122-c347cefa1b4a",
"identifier": [
{"use": "official", "value": "ea15c35a-8e8c-47ce-8122-c347cefa1b4a"}
],
"status": "current",
"mode": "working",
"title": "Supply Chain commodities",
"code": {
"coding": [
{
"system" : "http://smartregister.org/",
"code" : "22138876" ,
"display": "Supply Inventory List"
}
],
"text": "Supply Inventory List"
},
"entry": [
{ "item": {"reference": "List/6f3980e0-d1d6-4a7a-a950-939f3ca7b301"} },
{ "item": {"reference": "Group/e50eb835-7827-4001-b233-e1dda721d4e8"} },
{ "item": {"reference": "List/90b10fdb-592c-47b6-a265-c8806a15d77c"} },
{ "item": {"reference": "Group/dde1cd4f-bef4-4d2b-ad1b-f63b639ed254"} }
]
}
Issue Acceptance criteria?
FHIR resources to be used?List Resource https://www.hl7.org/fhir/list.html Relevant InformationNo response |
@peterMuriuki @ciremusyoka Please review the following payload {
"resourceType": "Group",
"id": "e44e26d0-1f7a-41d6-aa57-99c5712ddd66",
"identifier": [
{
"use": "secondary",
"type": {
"coding": [
{
"system" : "http://smartregister.org/",
"code" : "PONUM" ,
"display": "PO Number"
}
],
"text": "PO Number"
},
"value": "123214312"
},
{
"use": "official",
"type": {
"coding": [
{
"system" : "http://smartregister.org/",
"code" : "SERNUM" ,
"display": "Serial Number"
}
],
"text": "Serial Number"
},
"value": "989867686"
},
{"use": "usual", "value": "a065c211-cf3e-4b5b-972f-fdac0e45fef7"}
],
"active": true,
"type": "substance",
"actual": false,
"code": {
"coding": [
{
"system" : "http://smartregister.org/",
"code" : "78991122" ,
"display": "Supply Inventory"
}
]
},
"name": "Bishop Magua -- Bed nets",
"member": [
{
"entity": {"reference": "Group/6f3980e0-d1d6-4a7a-a950-939f3ca7b301"},
"period": {
"start": "2024-02-01T00:00:00.00Z",
"end" : "2024-02-01T00:00:00.00Z"
},
"inactive": false
}
],
"characteristic": [
{
"code": {
"coding": [
{
"system" : "http://smartregister.org/",
"code" : "33467722" ,
"display": "Quantity "
}
]
},
"valueQuantity": {"value": 34}
},
{
"code": {
"coding": [
{
"system" : "http://smartregister.org/",
"code" : "98734231" ,
"display": "Unicef Section"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://smartregister.org/CodeSystem/eusm-unicef-sections",
"code": "Health",
"display": "Health"
}
],
"text": "Health"
}
},
{
"code": {
"coding": [
{
"system" : "http://snomed.info/sct",
"code" : "45647484" ,
"display": "Donor"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system" : "http://smartregister.org/CodeSystem/eusm-donors",
"code" : "GAVI" ,
"display": "GAVI"
}
],
"text": "GAVI"
}
}
]
} |
The update has also been made here https://github.com/onaio/fhir-resources/issues/3016 |
To be retested once the QA feedback on #1341 is completed. |
@dubdabasoduba {"use": "usual", "value": "a065c211-cf3e-4b5b-972f-fdac0e45fef7"} |
Issue Context?
Issue Implemetation details?
secondary
on theuse
Identifier propertyofficial
on theuse
Identifier propertyIssue Acceptance criteria?
FHIR resources to be used?
No response
Relevant Information
Location Inventory sample resource
The text was updated successfully, but these errors were encountered: