我正在尝试使用此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"
}发布于 2019-12-24 17:07:35
根据documentation,正确的命令应该是:
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"之前缺少"\"符号。
https://stackoverflow.com/questions/59462712
复制相似问题