{
  "resourceType": "OperationOutcome",
  "id": "operationoutcome-example-merge-error",
  "meta": {
    "profile": [
      "http://ontariohealth.ca/fhir/pcr/StructureDefinition/pcr-operationoutcome-contribution"
    ]
  },
  "issue": [
    {
      "severity": "error",
      "code": "required",
      "details": {
        "text": "Both source-patient and target-patient are required for a merge request."
      },
      "expression": [
        "Parameters.parameter.where(name = 'source-patient')",
        "Parameters.parameter.where(name = 'target-patient')"
      ]
    }
  ]
}