Synthea (syntheticmass.mitre.org)是否支持在一个请求中获得多个专利?$everything资源?
我尝试了以下的一些排列,但我无法让它返回多个病人在同一请求。
请求(POST)
https://syntheticmass.mitre.org/v1/fhir/$export?apikey=API_KEY_GOES_HERE
https://syntheticmass.mitre.org/v1/fhir?apikey=API_KEY_GOES_HERE
https://syntheticmass.mitre.org/v1/fhir/Bundle?apikey=API_KEY_GOES_HERE
https://syntheticmass.mitre.org/v1/fhir/Bundle/$export?apikey=API_KEY_GOES_HERE
请求体
{
"resourceType": "Bundle",
"id": "bundle-request-simplesummary",
"type": "batch",
"entry": [
{
"request": {
"method": "GET",
"url": "/Patient/6f7acde5-db81-4361-82cf-886893a3280c?apikey=<API_KEY_GOES_HERE>"
}
},
{
"request": {
"method": "GET",
"url": "/Patient/6f7acde5-db81-4361-82cf-886893a3280c?apikey=<API_KEY_GOES_HERE>"
}
}
]
}响应(未找到资源)
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div><h1>Operation Outcome</h1><table border='1'><tr><td style='font-weight: bold;'>error</td><td>[]</td><td><pre>The requested resource was not found on this server.</pre></td>\n\t\t\t</tr>\n\t\t</table>\n\t</div>"
},
"issue": [
{
"severity": "error",
"code": "not-found",
"details": "The requested resource was not found on this server."
}
]
}响应(无法在服务器上创建资源)
{
"issue": [
{
"code": "security",
"details": {
"text": "permission_denied"
},
"diagnostics": "Permission healthcare.fhirResources.create denied on resource projects/synthea/locations/us-central1/datasets/201902/fhirStores/synthetic-mass (or it may be malformed or not exist)",
"severity": "error"
}
],
"resourceType": "OperationOutcome"
}发布于 2022-01-28 21:05:50
https://stackoverflow.com/questions/70783870
复制相似问题