chronic-care / mcc-project

MCC eCare Plan project planning and documentation
Apache License 2.0
0 stars 1 forks source link

eCarePlanner 3.1.5 - Care Team tab is blank with errors "_a.reference is undefined" #418

Closed mattStorer closed 1 week ago

mattStorer commented 3 weeks ago

In eCarePlanner 3.1.5, deployed to resolve issue #414, it appears that the original error that was the basis for that ticket has been resolved. However, a new error has replaced it, "_a.reference is undefined" :

TypeError: _a.reference is undefined
    theParticipation contact.util.ts:70
    transformToMccContact contact.util.ts:70
    mappedPatientContacts contact.ts:43

image

I’ll also take this opportunity to reinforce the idea that there can be – and in all likelihood will be - a lot of missing data in resources, and that the app should be able to gracefully handle such situations. In fact, almost all elements of FHIR resources are optional and may be omitted. I conceive “gracefully handling” such missing data as omitting the missing elements from processing and display without error, while continuing to process and display those elements that do exist.

on a trivial side note, from a grammatical perspective, it seems that theParticipation refers to a participant, and ought to be named theParticipant instead. the variable references an individual, not an action.

swmuir commented 2 weeks ago

Please verify still an issue with eCarePlanner v3.1.6