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

phenopacket builder should have function to update phenopacket #33

Closed
pnrobinson opened this issue Jan 16, 2022 · 1 comment
Closed

Comments

@pnrobinson
Copy link
Collaborator

Something like

PhenopacketBuilder::update(Phenopacket previousPhenopacket) -> Phenopacket

that is, we would use the PhenopacketBuilder to gather dataq about the current visit and then we take a Phenopacket object and add the new information to the PhenopacketBuilder, and then output the builder.

This includes items such as

  1. Add update to metadata
  2. Do not add duplicates, but consider adding evidence (e.g.., that a certain HPO term was reported on two visits to have the same onset)
@pnrobinson
Copy link
Collaborator Author

redundant with #54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant