{

"resourceType": "MedicationStatement",
"id": "example005",
"basedOn": [
  {
    "reference": "CarePlan/gpvisit"
  }
],
"status": "entered-in-error",
"medicationCodeableConcept": {
  "coding": [
    {
      "system": "http://snomed.info/sct",
      "code": "27658006",
      "display": "Amoxicillin (product)"
    }
  ]
},
"subject": {
  "reference": "Patient/pat1",
  "display": "Donald Duck"
},
"context": {
  "reference": "Encounter/f203"
},
"effectiveDateTime": "2014-01-23",
"dateAsserted": "2015-02-22",
"informationSource": {
  "reference": "Patient/pat1",
  "display": "Donald Duck"
},
"note": [
  {
    "text": "Patient indicated that they thought it was Amoxicillin they were taking but it was really Erythromycin"
  }
],
"meta": {
  "tag": [
    {
      "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code": "HTEST",
      "display": "test health data"
    }
  ]
}

}