8000 healthcare API: add comment clarifying FHIR update resource (#3269) · ssmall/java-docs-samples@46ba88a · GitHub
[go: up one dir, main page]

Skip to content

Commit 46ba88a

Browse files
authored
healthcare API: add comment clarifying FHIR update resource (GoogleCloudPlatform#3269)
* healthcare API: add comment clarifying FHIR update resource 159116240 * Update FhirResourcePatch.java
1 parent 805f0ec commit 46ba88a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

healthcare/v1/src/main/java/snippets/healthcare/fhir/resources/FhirResourcePatch.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ public static void fhirResourcePatch(String resourceName, String data)
5050
// String.format(
5151
// FHIR_NAME, "project-id", "region-id", "dataset-id", "store-id", "resource-type",
5252
// "resource-id");
53+
// The following data works with a Patient resource and is not intended to work with
54+
// other types of FHIR resources. If necessary, supply new values for data that
55+
// correspond to the FHIR resource you are patching. 470F
5356
// String data = "[{\"op\": \"replace\", \"path\": \"/active\", \"value\": false}]";
5457

5558
// Initialize the client, which will be used to interact with the service.

0 commit comments

Comments
 (0)
0