FreeHealth / freehealth

Free and open source Electronic Health Record
https://freehealth.io
Other
44 stars 16 forks source link

cardiovascular risk factors chart (inside PMH) checked items are not recorded #12

Closed jeromecc closed 8 years ago

jeromecc commented 8 years ago

"formDataMapper isDirty false, Form: Subs::Cardiology::RiskFactors" "formDataMapper Clear"

  1. Inside PMH, check cardiovascular risk factor items of patient A
  2. save
  3. change patient to B
  4. come back to patient A
  5. no item is checked
jeromecc commented 8 years ago

form not saved because "previous is not valid" form saved when: checking one item, move to another item inside PMH, go back to form, check another item, move to another item inside pmh: previous is valid, episode saved

void PMH::Internal::PmhModeWidget::currentChanged(const QModelIndex&, const QModelIndex&)
previous is not valid
formUid:  "Subs::Cardiology::RiskFactors"
void PMH::Internal::PmhModeWidget::currentChanged(const QModelIndex&, const QModelIndex&)
previous is valid
"formDataMapper            isDirty = FALSE, Form: Subs::Cardiology::RiskFactors"
"isDirty = FALSE, Form: Subs::Cardiology::RiskFactors"
"formDataMapper            Clear"
void PMH::Internal::PmhModeWidget::currentChanged(const QModelIndex&, const QModelIndex&)
previous is valid
formUid:  "Subs::Cardiology::RiskFactors"
void PMH::Internal::PmhModeWidget::currentChanged(const QModelIndex&, const QModelIndex&)
previous is valid
"formDataMapper            isDirty (item) Subs::Cardiology::RiskFactors::Modifiable:\n                              :Obesity 1"
"isDirty (item) Subs::Cardiology::RiskFactors::Modifiable::Obesity 1"
EpisodeBase::saveEpisodeContent "47" 1118
 correctly saved
"formDataMapper            Clear"