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
we use characteristics on the group resource to store data pertaining to the inventory fields unicef_section and donor.
After a change in how web retrieves these values i.e. by using Valuesets stored sever-side, web and tooling now create payloads that are different.
Notice the valueCodeableConcept.coding is different between the two.
This has the effect that web will not be able to interpret the unicef_section and donor field values from the group resource.
My suggestions:
Logically require the template value for the mentioned fields be an existing code in the corresponding valueSet
Update the payload_template by:
a. Update valueCodeableConcept.coding.system to point to the correct CodeSystem system url. This can be static, I do not expect we should/need to update this
b. Interpolate value in a. to valueCodeableConcept.coding.code
c. Remove the valueCodeableConcept.coding.display and valueCodeableConcept.text
Or:
Logically require the template value for the mentioned fields be an existing code in the corresponding valueSet
Getting an expansion of the Valueset for each respective field i.e be it unicef_Section, donor, maybe even for location.type
Use the expansion in 2 as a lookup and the value in 1 as the key. use the resulting coding as the correct value for valueCodeableConcept.coding
This also inherently adds a validation layer for what values are added for such fields
we use characteristics on the group resource to store data pertaining to the inventory fields
unicef_section
anddonor
.After a change in how web retrieves these values i.e. by using
Valuesets
stored sever-side, web and tooling now create payloads that are different.Web:
e.g.
while tooling:
Notice the
valueCodeableConcept.coding
is different between the two.This has the effect that web will not be able to interpret the
unicef_section
anddonor
field values from the group resource.My suggestions:
a. Update
valueCodeableConcept.coding.system
to point to the correct CodeSystem system url. This can be static, I do not expect we should/need to update thisb. Interpolate value in
a.
tovalueCodeableConcept.coding.code
c. Remove the
valueCodeableConcept.coding.display
andvalueCodeableConcept.text
Or:
unicef_Section
,donor
, maybe even forlocation.type
2
as a lookup and the value in1
as the key. use the resulting coding as the correct value forvalueCodeableConcept.coding
cc @dubdabasoduba
The text was updated successfully, but these errors were encountered: