Closed dsoegijono closed 2 years ago
It might be because of identifier assigner missing reference. I have a Patient resource that has identifier which validates fine:
"identifier": [
{
"type": {
"text": "MR"
},
"value": "1000011131",
"assigner": {
"reference": "Organizeation/1",
"type": "Organization",
"display": "TEST"
}
}
]
If I remove the reference, it will throw the error mentioned above:
"identifier": [
{
"type": {
"text": "MR"
},
"value": "1000011131",
"assigner": {
"type": "Organization",
"display": "TEST"
}
}
]
Fixed in commit https://github.com/lantanagroup/FHIR.js/commit/be1a74cab134cff959fb0dc723c470a3e5443343 Published to NPM as 4.10.3
Sometimes I'm getting an exception when passing in invalid payload:
Is there a specific condition that causes this?
I'm using version 4.9.0