-
Notifications
You must be signed in to change notification settings - Fork 10
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
[HIE-2] Skeleton code for client registry search flow #11
Conversation
[HIE-2] define ihe-pix operation and start implementation of getCRPatient [HIE-2] adding config options for default system and get patient endpoint [HIE-2] drop format param and change targetSystems to OR [HIE-2] move targetSystem param logic to controller [HIE-2] change to OperationParam in getCRPatient provider method cleanup, adding comments, refactoring Patient parsing
… ihe-pix CR endpoint
I've tested this out locally with: OpenMRS + OpenHIM + OpenCR + HAPI FHIR Store setup and it works. Note that I've only tested the Interceptor. That being said, let's have this merged as groundwork for the next tasks. |
switch (ClientRegistryTransactionType.valueOf(transactionMethodGlobalProperty)) { | ||
case FHIR: | ||
return fhirPatientService; | ||
case HL7: | ||
throw new IllegalArgumentException("HL7 transaction type is currently unsupported"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would vote for FHIR only as any other transformation will reside outside of this module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, gonna file a ticket to address this.
This PR was authored by @pmanko2 as a base implementation for ticket HIE-2 (see original PR). The work is mostly WIP and is meant to set the stage for the next steps, which include: