This repository was archived by the owner on Jun 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
This repository was archived by the owner on Jun 6, 2019. It is now read-only.
FHIR References are altered/invalid #29
Copy link
Copy link
Open
Description
Reported by HSPC
1. https://syntheticmass.mitre.org/fhir/Patient - to get 100 patients
2. https://syntheticmass.mitre.org/fhir/Patient//$everything - on every patient to get each patient's set of resources.
3. For those results, I build a FHIR transaction bundle to import the set of patient & patient resources as a transaction
Out of the 100 patients, only 9 import successfully in to my FHIR v1.8 server. However, if I pull patients from a server of mine where I previously pushed 2000+ patients generated with Synthea, I have full success. (When I previously imported the 2000+ patients, I saw no errors.)
I'm getting the following types of errors:
For Patient/58b3663f3425def0f0f6af86
Failure during REST processing: ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException: Invalid reference found at path 'DiagnosticReport.performer'. Resource type 'MedicationRequest' is not valid for this path
Response Status : HTTP/1.1 422 Unprocessable Entity .
Response Detail :{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">ERROR</td><td>[]</td><td><pre>Invalid reference found at path 'DiagnosticReport.performer'. Resource type 'MedicationRequest' is not valid for this path</pre></td>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t</tr>\n\t\t</table>\n\t</div>"
},
"issue": [
{
"severity": "error",
"code": "processing",
"diagnostics": "Invalid reference found at path 'DiagnosticReport.performer'. Resource type 'MedicationRequest' is not valid for this path"
}
]
}
AND
For Patient/58b3663f3425def0f0f6ae67
Failure during REST processing: ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: Resource Encounter/58b3663f3425def0f0f6aeb0 not found, specified in path: Condition.context
Response Status : HTTP/1.1 400 Bad Request .
Response Detail :{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">ERROR</td><td>[]</td><td><pre>Resource Encounter/58b3663f3425def0f0f6aeb0 not found, specified in path: Condition.context</pre></td>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t</tr>\n\t\t</table>\n\t</div>"
},
"issue": [
{
"severity": "error",
"code": "processing",
"diagnostics": "Resource Encounter/58b3663f3425def0f0f6aeb0 not found, specified in path: Condition.context"
}
]
}
Metadata
Metadata
Assignees
Labels
No labels