jfabrizio329 / signal-mso-fhir-profiles

Signal Managed Service Organization FHIR profiles
1 stars 0 forks source link

Create Custom Search Parameter for reason reference in Communications resource #123

Closed arunsundar-m closed 12 months ago

arunsundar-m commented 1 year ago

Create custom search parameter reason-reference to store the document reference in Communications resource

@enjoysparkling @Gokulsignal

Attaching the script to create in Forge, @enjoysparkling - do you know how $reindex can be applied for Search Parameter as part of package deployment.

API developer had done this manually in Dev and I did this in QA.

https://learn.microsoft.com/en-us/azure/healthcare-apis/fhir/how-to-run-a-reindex

arunsundar-m commented 1 year ago

Add Custom Search Variable in HL7.txt

enjoysparkling commented 1 year ago

@enjoysparkling - do you know how $reindex can be applied for Search Parameter as part of package deployment.

API developer had done this manually in Dev and I did this in QA.

https://learn.microsoft.com/en-us/azure/healthcare-apis/fhir/how-to-run-a-reindex

Since this is Azure FHIR Service -specific, this will have to be run after the package is loaded. We should probably have a script for "Post-Package Load" runs in case there is anything else like this.

Gokulsignal commented 1 year ago

@enjoysparkling Search Parameter for the Communication-ReasonReference is created and committed. Kindly review.

enjoysparkling commented 1 year ago

Would someone share where they found this or how they went about generating it? I see the url is listed as http://hl7.org/fhir/SearchParameter/Communication-reason-reference, but I cannot find it on hl7.org (e.g. it is not listed as a communication extension.) If we created it custom, the URL shall represent signalbhn.org

arunsundar-m commented 1 year ago

This is a custom search parameter that we created for Devs to use Document Reference.

@Gokulsignal Can you please change this URL to signalbhn.org and check with API team if they are fine with this change to understand there won't be any impact for them

Gokulsignal commented 1 year ago

URL is updated on the Custom search parameter. It is updated to the API team about this change.
Below is the updated one. https://signalbhn.org/fhir/SearchParameter/Communication-reason-reference

enjoysparkling commented 1 year ago

Background info: As an implementer (dev), I need to be able to use the Communication.reasonReference element as a search parameter find the DocumentReference resource that is linked off the communication.

Tasks / Additional info / Approach :

Future note: