@@ -36,23 +36,35 @@ Run the following command to install the library dependencies for Node.js:
3636
3737## FHIR resources
3838
39+ Commands:
40+ deleteFhirResource.js <projectId> <cloudRegion> <datasetId> Deletes a FHIR resource.
41+ <fhirStoreId> <resourceType> <resourceId>
42+ deleteFhirResourcePurge.js <projectId> <cloudRegion> <datasetId> Deletes all historical versions of a FHIR resource.
43+ <fhirStoreId> <resourceType> <resourceId>
44+ getFhirResourceHistory.js <projectId> <cloudRegion> <datasetId> Gets the contents of a version of a FHIR resource by version ID.
45+ <fhirStoreId> <resourceType> <resourceId> <versionId>
46+ getFhirResource.js <projectId> <cloudRegion> <datasetId> Gets a FHIR resource.
47+ <fhirStoreId> <resourceType> <resourceId>
48+ getFhirStoreCapabilities.js <projectId> <cloudRegion> <datasetId> Gets the capabilities statement for a FHIR store.
49+ <fhirStoreId>
50+ getPatientEverything.js <projectId> <cloudRegion> <datasetId> Retrieves all resources in the patient compartment for a Patient resource.
51+ <fhirStoreId> <patientId>
52+ listFhirResourceHistory.js <projectId> <cloudRegion> <datasetId> Lists all the versions of a resource
53+ <fhirStoreId> <resourceType> <resourceId> (including the current version and deleted versions) from the FHIR store.
54+ searchFhirResourcesGet.js <projectId> <cloudRegion> <datasetId> Searches for FHIR resources using GET methods.
55+ <fhirStoreId> <resourceType>
56+ searchFhirResourcesPost.js <projectId> <cloudRegion> <datasetId> Searches for FHIR resources using the POST method.
57+ <fhirStoreId> <resourceType>
58+ updateFhirResource.js <projectId> <cloudRegion> <datasetId> Updates the entire contents of a resource.
59+ <fhirStoreId> <resourceType> <resourceId>
60+
3961 Commands:
4062 fhir_resources.js createResource <datasetId> <fhirStoreId> Creates a new resource in a FHIR store.
4163 <resourceType>
42- fhir_resources.js updateResource <datasetId> <fhirStoreId> Updates an existing resource in a FHIR store.
43- <resourceType> <resourceId>
4464 fhir_resources.js patchResource <datasetId> <fhirStoreId> Patches an existing resource in a FHIR store.
4565 <resourceType> <resourceId>
46- fhir_resources.js deleteResource <datasetId> <fhirStoreId> Deletes a FHIR resource or returns NOT_FOUND if it
47- <resourceType> <resourceId> doesn't exist.
48- fhir_resources.js getResource <datasetId> <fhirStoreId> Gets a FHIR resource.
49- <resourceType> <resourceId>
50- fhir_resources.js searchResourcesGet <datasetId> Searches resources in the given FHIR store using the
51- <fhirStoreId> <resourceType> searchResources GET method.
52- fhir_resources.js searchResourcesPost <datasetId> Searches resources in the given FHIR store using the
53- <fhirStoreId> <resourceType> _search POST method.
54- fhir_resources.js getPatientEverything <datasetId> Gets all the resources in the patient compartment.
55- <fhirStoreId> <resourceId>
66+ fhir_resources.js executeBundle <datasetId> <fhirStoreId> Executes all the requests in the given Bundle.
67+ <bundleFile>
5668
5769 Options:
5870 --version Show version number [boolean]
@@ -64,3 +76,4 @@ Run the following command to install the library dependencies for Node.js:
6476 --help Show help [boolean]
6577
6678For more information, see https://cloud.google.com/healthcare/docs
79+
0 commit comments