@@ -36,7 +36,7 @@ public class FhirStorePatch {
36
36
private static final JsonFactory JSON_FACTORY = new JacksonFactory ();
37
37
private static final NetHttpTransport HTTP_TRANSPORT = new NetHttpTransport ();
38
38
39
- public static void fhirStorePatch (String dicomStoreName , String pubsubTopic ) throws IOException {
39
+ public static void fhirStorePatch (String fhirStoreName , String pubsubTopic ) throws IOException {
40
40
// String fhirStoreName =
41
41
// String.format(
42
42
// FHIR_NAME, "your-project-id", "your-region-id", "your-dataset-id", "your-fhir-id");
@@ -47,7 +47,7 @@ public static void fhirStorePatch(String dicomStoreName, String pubsubTopic) thr
47
47
48
48
// Fetch the initial state of the FHIR store.
49
49
FhirStores .Get getRequest =
50
- client .projects ().locations ().datasets ().fhirStores ().get (dicomStoreName );
50
+ client .projects ().locations ().datasets ().fhirStores ().get (fhirStoreName );
51
51
FhirStore store = getRequest .execute ();
52
52
53
53
// Update the FhirStore fields as needed as needed. For a full list of FhirStore fields, see:
@@ -61,7 +61,7 @@ public static void fhirStorePatch(String dicomStoreName, String pubsubTopic) thr
61
61
.locations ()
62
62
.datasets ()
63
63
.fhirStores ()
64
- .patch (dicomStoreName , store )
64
+ .patch (fhirStoreName , store )
65
65
.setUpdateMask ("notificationConfig" );
66
66
67
67
// Execute the request and process the results.
0 commit comments