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

Immuniazation Resource #3729

Merged
merged 8 commits into from
Jul 12, 2020
Merged

Conversation

yashrajbothra
Copy link
Contributor

Upgrading FHIR Immunization Resource with New Standard Endpoints

Changes proposed in this pull request:

  • Upgraded SEARCH Capabilities

Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>
Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>
@yashrajbothra yashrajbothra changed the title Immuniazation res Immuniazation Resource Jul 9, 2020
_rest_routes.inc.php Outdated Show resolved Hide resolved
_rest_routes.inc.php Outdated Show resolved Hide resolved
parent::__construct(self::IMMUNIZATION_TABLE);
$this->uuidRegistery = new UuidRegistry(['table_name' => self::IMMUNIZATION_TABLE]);
$this->uuidRegistery->createMissingUuids();
(new UuidRegistry(['table_name' => self::PATIENT_TABLE]))->createMissingUuids();
Copy link
Member

Choose a reason for hiding this comment

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

this auto-populating uuid stuff is just too cool every time i see it :)

@bradymiller
Copy link
Member

hi @yashrajbothra , overall the code looks really good. After above issues are addressed and is testing well for you, then just let me know (then I'll bring it into the codebase); and then onto the next resource :)

Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>
Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>
Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>
Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>
Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>
* Check if UUID String is Empty
* @return boolean
*/
public static function isEmptyStringUUID($uuidString)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not Needed as empty() can be used to check any empty string 👎

sql/database.sql Outdated Show resolved Hide resolved
Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>
@bradymiller
Copy link
Member

hi @yashrajbothra , very nice! bringing this in. thanks for the improvements! -brady

@bradymiller bradymiller merged commit 9153499 into openemr:master Jul 12, 2020
@yashrajbothra yashrajbothra deleted the immuniazation_res branch July 12, 2020 05:06
bradymiller pushed a commit that referenced this pull request Jul 12, 2020
* New Immunization Resource

Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>

* Added UUID to Edit Immu. with isValidUUID()

Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>

* Fixed Some Issues

Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>

* Added FHIR SEARCH Prameter

Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>

* Updated Documentation

Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>

* fixes

Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>

* Some Fixes

Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>

* Fix

Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants