microsoft / fhir-loader

Bulk FHIR Data Loader
MIT License
40 stars 38 forks source link

Requesting help about the FHIR Loader project. #70

Closed Kedar782 closed 2 weeks ago

Kedar782 commented 1 month ago

I want to add a FHIR Loader project on my new FHIR Data service. https://github.com/microsoft/fhir-loader

For that, can you please guide me with URLs.

WHere do I get the FHIR service service URL, FHIR audience URL? Also in the installation process it is asking me for the MSI or SP?

If I decide to go with the SP then how can I create a SP on my fhir service for the bulk loader. I'm using the FHIR service for ONC g10 and We will be adding new data every day through the bulk data in our FHIR service and clients can access this data using the standalone patient apps and EHR apps.

evachen96 commented 1 month ago

Hi @Kedar782 , thanks for your question. We'll take a look and get back to you.

Kedar782 commented 1 month ago

Thanks Eva.

On Mon, Jul 22, 2024 at 12:05 PM Eva Chen @.***> wrote:

Hi @Kedar782 https://github.com/Kedar782 , thanks for your question. We'll take a look and get back to you.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/fhir-loader/issues/70#issuecomment-2243629042, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU43YVGE5OCC5X7TWQROPRTZNVJYRAVCNFSM6AAAAABLI4WH6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTGYZDSMBUGI . You are receiving this because you were mentioned.Message ID: @.***>

Kedar782 commented 1 month ago

Hi @evachen96,

Do you have any update on this?

evachen96 commented 1 month ago

Hi @Kedar782,

I would recommend testing FHIR Loader on a FHIR server that does not have SMART on FHIR first, so that we can see if there are any issues there and remove other factors. Then, once we validate that works, we can try with a FHIR server that does have SMART on FHIR. Please let me know how that goes!

Kedar782 commented 1 month ago

I will do that now.

But here when I use my existing FHIR server without SMART and try to access it using POSTMAN with client credentials flow I get 401 unauthorized error.

How can i fix it?

I need to give client id and client secret for the fhir loader installation process.

Kedarnath

On Wed, Jul 31, 2024 at 3:49 PM Eva Chen @.***> wrote:

Hi @Kedar782 https://github.com/Kedar782,

image.png (view on web) https://github.com/user-attachments/assets/32f3175f-6a1e-4d8a-8fc0-1388969f2761

  • Where do I get the FHIR service service URL, FHIR audience URL? You can find these in Azure Portal in the info for your FHIR server. They should be the same URL, and you can find this in your Azure Portal under Settings > Authentication > Audience
  • Also in the installation process it is asking me for the MSI or SP? If using the "Deploy to Azure" button, you can choose between MSI or SP.

I would recommend testing FHIR Loader on a FHIR server that does not have SMART on FHIR first, so that we can see if there are any issues there and remove other factors. Then, once we validate that works, we can try with a FHIR server that does have SMART on FHIR. Please let me know how that goes!

— Reply to this email directly, view it on GitHub https://github.com/microsoft/fhir-loader/issues/70#issuecomment-2261596727, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU43YVBOKPJL2QBVTWKYFWTZPFSZDAVCNFSM6AAAAABLI4WH6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRGU4TMNZSG4 . You are receiving this because you were mentioned.Message ID: @.***>

Kedar782 commented 1 month ago

I have created a new FHIR Service as you suggested but am still receiving an error on the last tab of the template.

[image: image.png]

On Wed, Jul 31, 2024 at 3:49 PM Eva Chen @.***> wrote:

Hi @Kedar782 https://github.com/Kedar782,

image.png (view on web) https://github.com/user-attachments/assets/32f3175f-6a1e-4d8a-8fc0-1388969f2761

  • Where do I get the FHIR service service URL, FHIR audience URL? You can find these in Azure Portal in the info for your FHIR server. They should be the same URL, and you can find this in your Azure Portal under Settings > Authentication > Audience
  • Also in the installation process it is asking me for the MSI or SP? If using the "Deploy to Azure" button, you can choose between MSI or SP.

I would recommend testing FHIR Loader on a FHIR server that does not have SMART on FHIR first, so that we can see if there are any issues there and remove other factors. Then, once we validate that works, we can try with a FHIR server that does have SMART on FHIR. Please let me know how that goes!

— Reply to this email directly, view it on GitHub https://github.com/microsoft/fhir-loader/issues/70#issuecomment-2261596727, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU43YVBOKPJL2QBVTWKYFWTZPFSZDAVCNFSM6AAAAABLI4WH6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRGU4TMNZSG4 . You are receiving this because you were mentioned.Message ID: @.***>

evachen96 commented 1 month ago

Hi @Kedar782 , I'm not seeing the image, can you upload it again? image

Also, please submit a separate issue at https://github.com/Azure-Samples/azure-health-data-and-ai-samples/issues regarding Postman and include details on there.

Kedar782 commented 1 month ago

image

Kedar782 commented 1 month ago

Hello @evachen96 Do you have any update on this?

evachen96 commented 3 weeks ago

Hi @Kedar782 , we have fixed the issue that occurs when using service principal for both the bash script and the Deploy to Azure button. Let me know if that works!

evachen96 commented 2 weeks ago

Closing this issue, let me know if there are still any questions!

Kedar782 commented 5 days ago

Hello @evachen96 ,

I'm still receiving error got using button and bash script. I'm using azure health data without smart. I'm using the same client id and client secret which I used for POSTMAN client credentials flow as a SP client ID and client secret in the bash script but I'm getting error. I'm using the same FHIR server and audience URL. It is working in POSTMAN but I'm getting error for the bash script. (I intentionally changed the subscriptionid nad username here in the error I cannot post original here) Error is below:-

When I use button option to deploy the fhir loader project I get below error

{ "code": "DeploymentFailed", "target": "/subscriptions/c4cbd8a0-245d-489c-990b-694ac852/resourceGroups/calmedfhirproduction12-rg/providers/Microsoft.Resources/deployments/role-assign-fhir", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details": [ { "code": "InvalidPrincipalId", "message": "A valid principal ID must be provided for role assignment." } ] }

Please guide me what I'm doing wrong. I'm following all your instructions for deploying the fhir loader project.