ImportResult
The counts of an $import, on the OperationOutcome that answers it.
- Canonical URL
https://sazare.dev/StructureDefinition/import-result- Kind
- Extension (complex), on
OperationOutcome - FHIR
- R4 (4.0.1)
- Definition
- import-result.json (StructureDefinition)
Content
- created
valueInteger, required — resources the$importstored.- errors
valueInteger, required — lines not imported: refused, or not reached because the server stopped (withcreated, every line holding a resource). A refused line gets, as issues of the OperationOutcome, the ones a POST of it would answer (the same codes and expressions), each said to be of its line: to fix, then send again. The lines a stop left are one issue of codetransient: to send again as they are. The first 100 refused lines are listed.
Example
{
"resourceType": "OperationOutcome",
"issue": [
{"severity": "warning", "code": "informational", "diagnostics": "2 resources imported, 1 error"},
{"severity": "error", "code": "structure", "expression": ["Patient.gender"],
"diagnostics": "line 3 (Patient): 'Patient.gender' is a code: a string, not a number"}
],
"extension": [{
"url": "https://sazare.dev/StructureDefinition/import-result",
"extension": [
{"url": "created", "valueInteger": 2},
{"url": "errors", "valueInteger": 1}
]
}]
}
Before 0.19.0 the extension's URL was http://sazare.dev/…; read both if you keep older answers.