Base Patient resource has identifier with cardinality 0 -> many. We have profile based on Patient where we have identifier 1 -> 1.
So how the output json should look like ?
"identifier": {
"system" : "some-system.url",
"code" : "code121"
}
as json object or
"identifier": [
{
"system" : "some-system.url",
"code" : "code121"
}
]
as array