Google cloud platform 谷歌FHIR API-患者$everything

Google cloud platform 谷歌FHIR API-患者$everything,google-cloud-platform,Google Cloud Platform,我正在尝试使用这个api$一切 我得到了这个错误 { "issue": [ { "code": "not-supported", "details": { "text": "bad_resource_type" }, "diagnostics": "unsupported resource type", "severity": "error" } ], "resourceType": "Ope

我正在尝试使用这个api$一切

我得到了这个错误

{
  "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”

前面缺失,根据的正确命令应该是:

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”
前面缺失,谢谢。我尝试过这个{{project_name}/locations/{{region}/datasets/{{dataset_name}}/fhirStores/fhir store/fhir/Patient/0a1e63cf-27c0-4f15-81bf-628582cb936a/\$一切。相同的错误:{“问题”:[{“代码”:“不支持”,“详细信息”:{“文本”:“错误的资源类型”},“诊断”:“不支持的资源类型”,“严重性”:“错误”}],“资源类型”:“操作结果”}我仍然在URL上看到问题。请注意,在
项目
{{project\u name}
之间缺少
/
字符。正确的URL应该是:
https://healthcare.googleapis.com/v1beta1/projects/{{project\u name}}/locations/{{region}/datasets/{{dataset\u name}/fhirStores/fhir store/fhir/Patient/{Patient\u id}/\$everything
。此外,您还需要确保患者资源具有一些相关资源(如遭遇或观察)。为了理解如何创建资源,请遵循以下步骤。嗨,很抱歉,我在这里把url放错了,{{project\u name}}/locations/{{region}/datasets/{dataset\u name}}/fhirStores/fhir store/fhir/Patient/988e6160-90e7-4f73-b049-27e69cc7fede/\$earthing。我已经创建了一个观察和遭遇资源。其他搜索查询正在运行。例如。{project_name}/locations/{region}/datasets/{{dataset_name}/fhirStores/fhir store/fhir/Observation?subject=Patient/988e6160-90e7-4f73-b049-27e69cc7fede,{project_name}/locations/{{region}/datasets/{dataset_name}/fhirStores/fhirStores/fhir store/fhir/fhir/conference?subject=Patient/Patient/988e6160-90e690e7-b073-f7fede,{}/地点/{region}}/datasets/{{dataset_name}}/fhirStores/fhir store/fhir/Patient/988e6160-90e7-4f73-b049-27e69cc7fede。只有“$everything”API不起作用。请编辑您的帖子,以包含您创建和获取FHIR资源的确切方式。在以下步骤中,首先创建了一个患者,然后是一次遭遇,最后是一个观察资源,然后获得了所有的隔间资源,我能够获得所有的资源。谢谢。我尝试过这个{{project_name}/locations/{{region}/datasets/{{dataset_name}}/fhirStores/fhir store/fhir/Patient/0a1e63cf-27c0-4f15-81bf-628582cb936a/\$一切。相同的错误:{“问题”:[{“代码”:“不支持”,“详细信息”:{“文本”:“错误的资源类型”},“诊断”:“不支持的资源类型”,“严重性”:“错误”}],“资源类型”:“操作结果”}我仍然在URL上看到问题。请注意,在
项目
{{project\u name}
之间缺少
/
字符。正确的URL应该是:
https://healthcare.googleapis.com/v1beta1/projects/{{project\u name}}/locations/{{region}/datasets/{{dataset\u name}/fhirStores/fhir store/fhir/Patient/{Patient\u id}/\$everything
。此外,您还需要确保患者资源具有一些相关资源(如遭遇或观察)。为了理解如何创建资源,请遵循以下步骤。嗨,很抱歉,我在这里把url放错了,{{project\u name}}/locations/{{region}/datasets/{dataset\u name}}/fhirStores/fhir store/fhir/Patient/988e6160-90e7-4f73-b049-27e69cc7fede/\$earthing。我已经创建了一个观察和遭遇资源。其他搜索查询正在运行。例如。{project_name}/locations/{region}/datasets/{{dataset_name}/fhirStores/fhir store/fhir/Observation?subject=Patient/988e6160-90e7-4f73-b049-27e69cc7fede,{project_name}/locations/{{region}/datasets/{dataset_name}/fhirStores/fhirStores/fhir store/fhir/fhir/conference?subject=Patient/Patient/988e6160-90e690e7-b073-f7fede,{}/地点/{region}}/datasets/{{dataset_name}}/fhirStores/fhir store/fhir/Patient/988e6160-90e7-4f73-b049-27e69cc7fede。只有“$everything”API不起作用。请编辑您的帖子,以包含您创建和获取FHIR资源的确切方式。在以下步骤之后,首先创建一个患者,然后是一次遭遇,最后是一个观察资源,然后获得所有隔间资源,我能够获得所有资源。