Skip to content

Commit 8888f54

Browse files
committed
tests done
1 parent eab903b commit 8888f54

File tree

8 files changed

+700
-625
lines changed

8 files changed

+700
-625
lines changed

.doc_gen/metadata/healthlake_metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ healthlake_CreateFHIRDatastore:
1111
- python.example_code.healthlake.HealthLakeWrapper.decl
1212
- python.example_code.healthlake.CreateFHIRDatastore
1313
- description: >
14-
The following code shows the parameters for SMART on
14+
The following code shows an example of parameters for a SMART on
1515
FHIR-enabled HealthLake data store.
1616
snippet_tags:
1717
- python.example_code.healthlake.CreateFHIRDatastore.smart

python/example_code/healthlake/README.md

Lines changed: 19 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# HealthImaging code examples for the SDK for Python
1+
# HealthLake code examples for the SDK for Python
22

33
## Overview
44

5-
Shows how to use the AWS SDK for Python (Boto3) to work with AWS HealthImaging.
5+
Shows how to use the AWS SDK for Python (Boto3) to work with AWS HealthLake.
66

77
<!--custom.overview.start-->
88
<!--custom.overview.end-->
99

10-
_HealthImaging is a HIPAA-eligible service that helps health care providers and their medical imaging ISV partners store, transform, and apply machine learning to medical images._
10+
_HealthLake _
1111

1212
## ⚠ Important
1313

@@ -34,42 +34,23 @@ python -m pip install -r requirements.txt
3434
<!--custom.prerequisites.start-->
3535
<!--custom.prerequisites.end-->
3636

37-
### Get started
38-
39-
- [Hello HealthImaging](imaging_set_and_frames_workflow/hello.py#L4) (`ListDatastores`)
40-
41-
4237
### Single actions
4338

4439
Code excerpts that show you how to call individual service functions.
4540

46-
- [CopyImageSet](health_lake_wrapper.py#L417)
47-
- [CreateDatastore](health_lake_wrapper.py#L31)
48-
- [DeleteDatastore](health_lake_wrapper.py#L104)
49-
- [DeleteImageSet](health_lake_wrapper.py#L489)
50-
- [GetDICOMImportJob](health_lake_wrapper.py#L158)
51-
- [GetDatastore](health_lake_wrapper.py#L54)
52-
- [GetImageFrame](health_lake_wrapper.py#L318)
53-
- [GetImageSet](health_lake_wrapper.py#L241)
54-
- [GetImageSetMetadata](health_lake_wrapper.py#L274)
55-
- [ListDICOMImportJobs](health_lake_wrapper.py#L183)
56-
- [ListDatastores](health_lake_wrapper.py#L79)
57-
- [ListImageSetVersions](health_lake_wrapper.py#L350)
58-
- [ListTagsForResource](health_lake_wrapper.py#L556)
59-
- [SearchImageSets](health_lake_wrapper.py#L211)
60-
- [StartDICOMImportJob](health_lake_wrapper.py#L124)
61-
- [TagResource](health_lake_wrapper.py#L514)
62-
- [UntagResource](health_lake_wrapper.py#L534)
63-
- [UpdateImageSetMetadata](health_lake_wrapper.py#L381)
64-
65-
### Scenarios
66-
67-
Code examples that show you how to accomplish a specific task by calling multiple
68-
functions within the same service.
69-
70-
- [Get started with image sets and image frames](imaging_set_and_frames_workflow/imaging_set_and_frames.py)
71-
- [Tagging a data store](tagging_data_stores.py)
72-
- [Tagging an image set](tagging_image_sets.py)
41+
- [CreateFHIRDatastore](health_lake_wrapper.py#L42)
42+
- [DeleteFHIRDatastore](health_lake_wrapper.py#L136)
43+
- [DescribeFHIRDatastore](health_lake_wrapper.py#L84)
44+
- [DescribeFHIRExportJob](health_lake_wrapper.py#L310)
45+
- [DescribeFHIRImportJob](health_lake_wrapper.py#L197)
46+
- [ListFHIRDatastoreImportJobs](health_lake_wrapper.py#L222)
47+
- [ListFHIRDatastores](health_lake_wrapper.py#L106)
48+
- [ListFHIRExportJobs](health_lake_wrapper.py#L335)
49+
- [ListTagsForResource](health_lake_wrapper.py#L404)
50+
- [StartFHIRExportJob](health_lake_wrapper.py#L272)
51+
- [StartFHIRImportJob](health_lake_wrapper.py#L154)
52+
- [TagResource](health_lake_wrapper.py#L385)
53+
- [UntagResource](health_lake_wrapper.py#L426)
7354

7455

7556
<!--custom.examples.start-->
@@ -83,77 +64,7 @@ functions within the same service.
8364
<!--custom.instructions.start-->
8465
<!--custom.instructions.end-->
8566

86-
#### Hello HealthImaging
87-
88-
This example shows you how to get started using HealthImaging.
89-
90-
```
91-
python imaging_set_and_frames_workflow/hello.py
92-
```
93-
94-
95-
#### Get started with image sets and image frames
96-
97-
This example shows you how to import DICOM files and download image frames in HealthImaging.</para>
98-
<para>The implementation is structured as a workflow command-line
99-
application.
100-
101-
102-
- Set up resources for a DICOM import.
103-
- Import DICOM files into a data store.
104-
- Retrieve the image set IDs for the import job.
105-
- Retrieve the image frame IDs for the image sets.
106-
- Download, decode and verify the image frames.
107-
- Clean up resources.
108-
109-
<!--custom.scenario_prereqs.medical-imaging_Scenario_ImageSetsAndFrames.start-->
110-
<!--custom.scenario_prereqs.medical-imaging_Scenario_ImageSetsAndFrames.end-->
111-
112-
Start the example by running the following at a command prompt:
113-
114-
```
115-
python imaging_set_and_frames_workflow/imaging_set_and_frames.py
116-
```
117-
118-
119-
<!--custom.scenarios.medical-imaging_Scenario_ImageSetsAndFrames.start-->
120-
<!--custom.scenarios.medical-imaging_Scenario_ImageSetsAndFrames.end-->
121-
122-
#### Tagging a data store
123-
124-
This example shows you how to tag a HealthImaging data store.
125-
126-
127-
<!--custom.scenario_prereqs.medical-imaging_Scenario_TaggingDataStores.start-->
128-
<!--custom.scenario_prereqs.medical-imaging_Scenario_TaggingDataStores.end-->
129-
130-
Start the example by running the following at a command prompt:
131-
132-
```
133-
python tagging_data_stores.py
134-
```
135-
136-
137-
<!--custom.scenarios.medical-imaging_Scenario_TaggingDataStores.start-->
138-
<!--custom.scenarios.medical-imaging_Scenario_TaggingDataStores.end-->
139-
140-
#### Tagging an image set
141-
142-
This example shows you how to tag a HealthImaging image set.
143-
144-
145-
<!--custom.scenario_prereqs.medical-imaging_Scenario_TaggingImageSets.start-->
146-
<!--custom.scenario_prereqs.medical-imaging_Scenario_TaggingImageSets.end-->
147-
148-
Start the example by running the following at a command prompt:
149-
150-
```
151-
python tagging_image_sets.py
152-
```
153-
15467

155-
<!--custom.scenarios.medical-imaging_Scenario_TaggingImageSets.start-->
156-
<!--custom.scenarios.medical-imaging_Scenario_TaggingImageSets.end-->
15768

15869
### Tests
15970

@@ -170,9 +81,9 @@ in the `python` folder.
17081

17182
## Additional resources
17283

173-
- [HealthImaging Developer Guide](https://docs.aws.amazon.com/healthimaging/latest/devguide/what-is.html)
174-
- [HealthImaging API Reference](https://docs.aws.amazon.com/healthimaging/latest/APIReference/Welcome.html)
175-
- [SDK for Python HealthImaging reference](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/medical-imaging.html)
84+
- [HealthLake Developer Guide](https://docs.aws.amazon.com/healthlake/latest/devguide/what-is-amazon-health-lake.html)
85+
- [HealthLake API Reference](https://docs.aws.amazon.com/healthlake/latest/APIReference/Welcome.html)
86+
- [SDK for Python HealthLake reference](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/medical-imaging.html)
17687

17788
<!--custom.resources.start-->
17889
<!--custom.resources.end-->

0 commit comments

Comments
 (0)