Google FHIR API - Patient $everything



我正在尝试使用此 api. https://healthcare.googleapis.com/v1beta1/projects/PROJECT_ID/locations/REGION/datasets/DATASET_ID/fhirStores/FHIR_STORE_ID/fhir/Patient/PATIENT_ID/$everything

我收到此错误

{
"issue": [
{
"code": "not-supported",
"details": {
"text": "bad_resource_type"
},
"diagnostics": "unsupported resource type",
"severity": "error"
}
],
"resourceType": "OperationOutcome"
}

根据文档,正确的命令应该是:

curl -X GET 
-H "Authorization: Bearer "$(gcloud auth print-access-token) 
"https://healthcare.googleapis.com/v1beta1/projects/PROJECT_ID/locations/REGION/datasets/DATASET_ID/fhirStores/FHIR_STORE_ID/fhir/Patient/PATIENT_ID/$everything"

请注意,$everything"之前缺少""符号。

最新更新