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

Migrate fhir Document Binaries endpoint to new FHIR endpoint #5827

Closed
adunsulag opened this issue Oct 12, 2022 · 0 comments · Fixed by #5836
Closed

Migrate fhir Document Binaries endpoint to new FHIR endpoint #5827

adunsulag opened this issue Oct 12, 2022 · 0 comments · Fixed by #5836
Assignees

Comments

@adunsulag
Copy link
Member

ONC Inferno is now filing the /fhir//document//Binary endpoint that we were using for our bulk-data exports as well as for our DocumentReference endpoints. Looking at the FHIR 3.1.1 documentation it no longer shows a /document//Binary endpoint and only lists a /Binary endpoint which is odd. That said, we need to migrate the endpoint so we can pass this off with ONC's newest Inferno testing suite for ongoing compliance with ONC certification.

@adunsulag adunsulag self-assigned this Oct 12, 2022
adunsulag added a commit to DiscoverAndChange/openemr that referenced this issue Oct 12, 2022
Fixes openemr#5831 - capabilities statement add passthrough statement
Fixes openemr#5830 - add document title to DocumentReference endpoint
Fixes openemr#5829 - enable patients to download their own documents.
Fixes openemr#5828 - OperationDefinition endpoint, $bulkdata-status updates
Fixes openemr#5827 - Migrate FHIR doc binary download to root Binary endpoint
Fixes openemr#5833 - Patient portal scopes independent of fhir scopes
adunsulag added a commit to DiscoverAndChange/openemr that referenced this issue Oct 21, 2022
…emr#5830 openemr#5831 openemr#5833 openemr#5834 (openemr#5836)

* OpenEMR FHIR Api bug/feature fixes

Fixes openemr#5831 - capabilities statement add passthrough statement
Fixes openemr#5830 - add document title to DocumentReference endpoint
Fixes openemr#5829 - enable patients to download their own documents.
Fixes openemr#5828 - OperationDefinition endpoint, $bulkdata-status updates
Fixes openemr#5827 - Migrate FHIR doc binary download to root Binary endpoint
Fixes openemr#5833 - Patient portal scopes independent of fhir scopes

* Fix scope permission on insert/create/delete

Fixes openemr#5834 - Add delete interaction in capability statement to handle
write scopes correctly.

We were using the wrong interaction name for the capability statement
and I renamed it in the prior commit.  However, I wasn't handling it in
our ScopeRepository correctly.  Changed the interaction reference to be
'create' instead of 'insert' and put in a documentation url of where to
go to get the reference.

* Fix styles and unit tests

* Fix missing definition URL

Found the definition url was missing for the operation.  Not sure how I
ended up removing it.
adunsulag added a commit that referenced this issue Oct 25, 2022
)

* Openemr inferno fixes for #5827 #5828 #5829 #5830 #5831 #5833 #5834 (#5836)

* OpenEMR FHIR Api bug/feature fixes

Fixes #5831 - capabilities statement add passthrough statement
Fixes #5830 - add document title to DocumentReference endpoint
Fixes #5829 - enable patients to download their own documents.
Fixes #5828 - OperationDefinition endpoint, $bulkdata-status updates
Fixes #5827 - Migrate FHIR doc binary download to root Binary endpoint
Fixes #5833 - Patient portal scopes independent of fhir scopes

* Fix scope permission on insert/create/delete

Fixes #5834 - Add delete interaction in capability statement to handle
write scopes correctly.

We were using the wrong interaction name for the capability statement
and I renamed it in the prior commit.  However, I wasn't handling it in
our ScopeRepository correctly.  Changed the interaction reference to be
'create' instead of 'insert' and put in a documentation url of where to
go to get the reference.

* Fix styles and unit tests

* Fix missing definition URL

Found the definition url was missing for the operation.  Not sure how I
ended up removing it.

* Fixes #5854 encounter identifier change uuid (#5854)

Change the UUID and remove the RFC reference

* Fixes #5832 - add document reference category (#5859)

Categories were not being populated in the document service piece so I
expose that in the DocumentService class.

I add the text name of the category/folder the document is assigned to
into the fhir patient document reference.

* Fixes #5838 DocumentReference date search (#5860)

Make the date search work for document reference with onc inferno.
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 a pull request may close this issue.

1 participant