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

Dependency New Resource/Data Source azurerm_healthcare_dicom_service #15887

Merged
merged 29 commits into from
May 2, 2022

Conversation

xiaxyi
Copy link
Contributor

@xiaxyi xiaxyi commented Mar 18, 2022

adding new resource: healthcare dicom service. Dependency of #15759

DICOM (Digital Imaging and Communications in Medicine) is the international standard to transmit, store, retrieve, print, process, and display medical imaging information, and is the primary medical imaging standard accepted across healthcare.

The DICOM service is a managed service within Azure Health Data Services that ingests and persists DICOM objects at multiple thousands of images per second.

acc tests:

--- PASS: TestAccHealthCareDicomResource_updateUserAssignedIdentity (1315.96s)
--- PASS: TestAccHealthCareDicomResource_update (1361.68s)
--- PASS: TestAccHealthCareDicomResource_basic (1410.94s)
--- PASS: TestAccHealthCareDicomResource_requiresImport (1458.96s)
PASS
ok      github.com/hashicorp/terraform-provider-azurerm/internal/services/healthcare    1459.692s

--- PASS: TestAccHealthCareDicomDataSource_basic (799.27s)
PASS
ok      github.com/hashicorp/terraform-provider-azurerm/internal/services/healthcare    799.909s

Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

thanks @xiaxyi - took a quick look and left some comments inline. also what does "dicom" stand for" is that the best name for the resoruce? also we have a lot of test failureS:

image

internal/services/healthcare/healthcare_dicom_resource.go Outdated Show resolved Hide resolved
layout: "azurerm"
page_title: "Azure Resource Manager: azurerm_healthcare_dicom_service"
description: |-
Get information about an existing Healthcare Dicom Service
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is "dicom"

@xiaxyi
Copy link
Contributor Author

xiaxyi commented Mar 21, 2022

Thanks @katbyte

DICOM service stands for Digital Imaging and Communications in Medicine (https://docs.microsoft.com/en-us/azure/healthcare-apis/dicom/dicom-services-overview), DICOM service was named by Microsoft upstream team. Shall we use the full name or the abbreviation?

updated the property name and the test cases

@xiaxyi
Copy link
Contributor Author

xiaxyi commented Mar 21, 2022

self checking the failed acc tests

@xiaxyi xiaxyi marked this pull request as draft March 21, 2022 07:34
@xiaxyi xiaxyi marked this pull request as ready for review March 21, 2022 15:34
@xiaxyi xiaxyi changed the title New Resource healthcare dicom service in healthcare workspace Dependency New Resource healthcare dicom service in healthcare workspace Mar 29, 2022
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

Thanks @xiaxyi - lets just use DICOM in the resource and expand it in the docs (i've made a suggestion)

also in the docs/comments etc we should capitalize DICOM as in the msft docs, thanks!

layout: "azurerm"
page_title: "Azure Resource Manager: azurerm_healthcare_dicom_service"
description: |-
Manages a Healthcare Dicom Service.
Copy link
Collaborator

Choose a reason for hiding this comment

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

DICO should be all caps? and lets expand the abbreviation here

Suggested change
Manages a Healthcare Dicom Service.
Manages a Healthcare DICOM (Digital Imaging and Communications in Medicine) Service.

website/docs/r/healthcare_dicom.html.markdown Outdated Show resolved Hide resolved
@xiaxyi
Copy link
Contributor Author

xiaxyi commented Apr 7, 2022

@katbyte updated the code as suggested.

Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

LGTM 🌮

@katbyte katbyte changed the title Dependency New Resource healthcare dicom service in healthcare workspace Dependency New Resource/Data Source azurerm_healthcare_dicom_service May 2, 2022
@katbyte katbyte merged commit 440c014 into hashicorp:main May 2, 2022
@github-actions github-actions bot added this to the v3.5.0 milestone May 2, 2022
katbyte added a commit that referenced this pull request May 2, 2022
@github-actions
Copy link

github-actions bot commented May 6, 2022

This functionality has been released in v3.5.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

github-actions bot commented Jun 5, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2022
@xiaxyi xiaxyi deleted the hc/dicom branch August 14, 2022 00:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants