You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the snomed mapping problem #110 we need to find a good way to formalize the commcare inputs.
Basically commcare defines forms which capture a bunch of values. We need to capture all the potential values as an input, so that we can provide a mapping to them.
I think the input structure should look like this, so that it can be sent straight to #111
zero how many units do you drink per week?
one-to-three how many units do you drink per week?
the model would return a fhir mapping like
{
'zero': { system, value, display }
}
Where each line is an input to be mapped, and the first word is the mapping key, and the rest is a dump of context to help the AI make decisions. We can formalise the context later, as we learn more.
As part of the snomed mapping problem #110 we need to find a good way to formalize the commcare inputs.
Basically commcare defines forms which capture a bunch of values. We need to capture all the potential values as an input, so that we can provide a mapping to them.
I think the input structure should look like this, so that it can be sent straight to #111
the model would return a fhir mapping like
Where each line is an input to be mapped, and the first word is the mapping key, and the rest is a dump of context to help the AI make decisions. We can formalise the context later, as we learn more.
This gist contains the commcare form definitions, which should contain the full range of values: https://gist.github.com/AishaHassen/1c0fc03a850b28232b2dbbaf1bb29859
Try searching for
how_many_alcoholic_drinks_per_week
- around line 842 you can see the form definition with the value specified.I think we need some sort of script which reads in this XML and extracts all the possible inputs.
The text was updated successfully, but these errors were encountered: