Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving pregnancy support #55

Draft
wants to merge 3 commits into
base: 15.1.1
Choose a base branch
from
Draft

Conversation

kneckinator
Copy link
Contributor

Adding pregnancy end date and adding maternal and neonatal outcomes

Adding pregnancy end date and adding maternal and neonatal outcomes
Comment on lines +24 to +45
z_cst_indv_pregnancy_maternal_outcome = fields.Selection(
[
("normal", "Normal"),
("preterm", "Preterm birth"),
("stillbirth", "Stillbirth"),
],
"Maternal outcome",
)
z_cst_indv_pregnancy_neonatal_outcome = fields.Selection(
[
("normal", "Neonatal death"),
("conanomalies", "Congenital anomalies"),
("infections", "Neonatal infections"),
("loweight", "Low birth weight"),
("small", "Small for gestational age"),
("respiratory", "Respiratory distress"),
("thrive", "Failure to thrive"),
("seizures", "Neonatal seizures"),
("neurodevdelay", "Neurodevelopmental delay"),
],
"Neonatal outcome",
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be here or in an event data where the last value is linked ? So we do not loose history of every birth.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While working on this, I was also thinking that the entire pregnancy implementation (start/end/outcomes) should be event data. Like a "pregnancy event." Then the indicators could use the currently active pregnancy event, as only one pregnancy can be ongoing at the same time.

Should we spend the time to convert this into an event for the demo application? I agree it is a step in the right direction in showing how such data should be implemented in OpenSPP.

Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants