In one of our features, we allow the patient enter their preferred name. This is what I tried so far:
PATCH /name/-
[
{
"path": "/name/-",
"op": "add",
"value": {
"use": "usual",
"given": [
"Preferred"
]
}
}
]
and I'm getting a 422 response, with the following payload:
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "business-rule",
"diagnostics": "$this[0]: operation 'add' for path [/name/-] is not supported"
}
]
}
Request ID: 0d96b1c3-6490-4a5c-8887-40db73d22e0d
Does this mean the addition of new names (a preferred name in this case) is not supported? Is there any way to support our use case?
Thanks!