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

feat(9586): implement freetext search in cht datasource #9625

Open
wants to merge 83 commits into
base: master
Choose a base branch
from

Conversation

sugat009
Copy link
Member

@sugat009 sugat009 commented Nov 7, 2024

Description

Closes: #9586

Code review checklist

  • Readable: Concise, well named, follows the style guide, documented if necessary.
  • Documented: Configuration and user documentation on cht-docs
  • Tested: Unit and/or e2e where appropriate
  • Internationalised: All user facing text
  • Backwards compatible: Works with existing data and configuration or includes a migration. Any breaking changes documented in the release notes.

Compose URLs

If Build CI hasn't passed, these may 404:

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

@sugat009 sugat009 linked an issue Nov 7, 2024 that may be closed by this pull request
@sugat009 sugat009 force-pushed the 9586-implement-freetext-search-in-cht-datasource branch from eba7aac to 43efbef Compare November 18, 2024 08:59
Copy link
Contributor

@jkuester jkuester left a comment

Choose a reason for hiding this comment

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

Alright! We are getting very close here.

shared-libs/cht-datasource/src/contact.ts Outdated Show resolved Hide resolved
shared-libs/cht-datasource/src/contact.ts Outdated Show resolved Hide resolved
shared-libs/cht-datasource/src/index.ts Outdated Show resolved Hide resolved
shared-libs/cht-datasource/src/index.ts Outdated Show resolved Hide resolved
shared-libs/cht-datasource/src/qualifier.ts Outdated Show resolved Hide resolved
shared-libs/cht-datasource/src/local/libs/lineage.ts Outdated Show resolved Hide resolved
};

/** @internal */
export const getContactLineage = (medicDb: PouchDB.Database<Doc>) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: I guess now the getPrimaryContactIds, hydratePrimaryContact, hydrateLineage functions do not need to be exported since they are only getting used in this file.

shared-libs/cht-datasource/src/local/report.ts Outdated Show resolved Hide resolved
tests/integration/shared-libs/cht-datasource/auth.js Outdated Show resolved Hide resolved
jkuester and others added 13 commits January 27, 2025 21:28
Co-authored-by: Joshua Kuestersteffen <jkuester@kuester7.com>
Co-authored-by: Joshua Kuestersteffen <jkuester@kuester7.com>
Co-authored-by: Joshua Kuestersteffen <jkuester@kuester7.com>
Co-authored-by: Joshua Kuestersteffen <jkuester@kuester7.com>
…thub.com:medic/cht-core into 9586-implement-freetext-search-in-cht-datasource
Co-authored-by: Joshua Kuestersteffen <jkuester@kuester7.com>
Co-authored-by: Joshua Kuestersteffen <jkuester@kuester7.com>
Co-authored-by: Joshua Kuestersteffen <jkuester@kuester7.com>
…thub.com:medic/cht-core into 9586-implement-freetext-search-in-cht-datasource
@sugat009 sugat009 requested a review from jkuester February 6, 2025 05:18
Copy link
Contributor

@jkuester jkuester left a comment

Choose a reason for hiding this comment

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

Lets 👏 freaking 👏 go 👏 !!!!! 🚀 🚀

Thanks @sugat009 for hanging in with me on this absolute tour-de-force! 💪

shared-libs/cht-datasource/src/index.ts Outdated Show resolved Hide resolved
shared-libs/cht-datasource/src/index.ts Outdated Show resolved Hide resolved
shared-libs/cht-datasource/src/index.ts Outdated Show resolved Hide resolved
@mrjones-plip
Copy link
Contributor

Lets 👏 freaking 👏 go 👏 !!!!! 🚀 🚀

YYYYYYYYEEEESSS!!! you two are amazing - so great to see this work come together

sugat009 and others added 5 commits February 7, 2025 20:50
@sugat009 sugat009 requested a review from dianabarsan February 11, 2025 16:04
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

Successfully merging this pull request may close these issues.

Implement freetext search in cht-datasource
4 participants