I am trying to post a bundle transaction:
{
"resourceType": "Bundle",
"id": "bundle-transaction",
"type": "transaction",
"entry": [
{
"resource": {
"resourceType": "Location",
"identifier": [
{
"system": "urn:companyname:DepartmentID",
"value": "AAAA"
}
],
"name": "AAAA",
"physicalType": {
"coding": [
{
"system": "location-physical-type",
"code": "wa",
"display": "Ward"
}
],
"text": "Department"
}
},
"request": {
"Method": "POST",
"Url": "Location"
}
},
{
"resource": {
"resourceType": "Location",
"identifier": [
{
"system": "urn:companyname:DepartmentID",
"value": "BBBB"
}
],
"name": "BBBB",
"physicalType": {
"coding": [
{
"system": "location-physical-type",
"code": "wa",
"display": "Ward"
}
],
"text": "Department"
}
},
"request": {
"Method": "POST",
"Url": "Location"
}
}
]
}
When I post this to the base url I get the following message:
{
"resourceType": "OperationOutcome",
"id": "0b0231b8-65be-4521-85d5-394a9171f6ab",
"issue": [
{
"severity": "error",
"code": "internalerror",
"diagnostics": "Error trying to instanciate/execute post-process FHIRProxy.preprocessors.TransformBundlePreProcess: Object reference not set to an instance of an object."
}
]
}