Comments (6)
Same issue with the following field: Contact Mobile # (patient/relative)
from coconut-mobile-plugin-zanzibar.
@mikeymckay
I noticed the inconsistency in the naming of the attributes for the Facility questions.
in some doc it is spelled as ContactMobilepatientrelative, while in others it is spelled ContactMobilePatientRelative. Likewise for 'HeadOfHouseholdName' and 'HeadofHouseholdName'.
I think causes issue in createHousehold() in the plugin Case. And the Head of Household Name and the Contact Mobile Patient Relative are not saved to the Household question.
from coconut-mobile-plugin-zanzibar.
@mikeymckay I suspect that the Form2jsPlugins that you introduced in the plugin, converts the attribute names to camelize form that is inconsistent with previous Facility question docs that do not use camelize form in the attribute names.
And I suspect that the other questions are also affected similarly.
In Case.coffee - createHousehold(), you have
HeadofHouseholdName: @Facility.HeadofHouseholdName
ContactMobilepatientrelative: @Facility.ContactMobilepatientrelative
Attribute @Facility.HeadofHouseholdName does longer exist as you have already camelize to @Facility.HeadOfHouseholdName when saving the completed Facility question.
from coconut-mobile-plugin-zanzibar.
from coconut-mobile-plugin-zanzibar.
@mikeymckay I see that you have made changes (Nov 25 in plugin codes) that took care of the camel case to HeadOfHouseHoldName. That solves the issue in Facility results view that was missing the Head of House Name. However in the Household result view, the data is still missing for Head Of Household Name and Total Number of Residents in the Household. Does this have anything to do with the fact that in the Case doc, the attributes are still in the old format "HeadofHouseholdName"?
from coconut-mobile-plugin-zanzibar.
Tested. Fixed. @scloo - Does the problem in your Dec 5 comment on this issue still exist?
from coconut-mobile-plugin-zanzibar.
Related Issues (20)
- Skip logic on treatment HOT 1
- Many households are missing geocoordinates HOT 8
- Remove other index case when at same household
- Compare weekly and notification needs refactor to use casecounter
- Create another casecounter but that allows limiting by facility or district
- Make weekly report look nicer
- DHIS2 sync not working HOT 1
- Send out messages when thresholds crossed
- Enable threshold editor for admins
- When a case is transferred the person receiving the case can't mark case as lost to followup
- DMSO - allow them to have multiple districts
- Don't allow transfers unless a facility is complete HOT 1
- FOCI CLassification - need to find cases and clean shehia
- 2. The transfer feature should be implementable only at HF level
- Move lost to followup to Household
- Household should only have one index case HOT 1
- Issues with transfer usability
- Remove some delete options HOT 1
- Show transfer details on tablet of person that transferred it
- Improve user report calculations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coconut-mobile-plugin-zanzibar.