I have been experiencing issues while trying to POST a new AllergyTolerance,
Here is the most basic AllergyTolerance request:
X-Request-Id : 0e22853482a632a1b2c4bdd601408236
{
"resourceType": "AllergyIntolerance",
"recordedDate": "2019-06-21T15:11:51.000-05:00",
"reporter":{
"reference": "Patient/{id}"
},
"recorder": {
"reference": "Practitioner/{id}"
},
"patient": {
"reference": "Patient/{id}"
},
"substance": {
"coding": [
{
"code": "314422",
"display": "PENICILLIN"
}
]
},
"status": "unconfirmed",
"criticality": "CRITH",
"category": "medication",
"reaction": [
{
"manifestation": [
{
"coding": [
{
"code": "247472004",
"display": "Hives"
}
]
}
]
}
]
}
And I keep receiving 422 Unprocessable Entity. wondering I am missing anything.