From b7d298d39fb22a5d1c8deec05fd5773ca6ef9a29 Mon Sep 17 00:00:00 2001 From: "Eric W. Wallace" Date: Thu, 23 Apr 2015 19:35:50 -0400 Subject: [PATCH] fix MedicationPrescription resource to search by 'patient' instead of 'subject' --- .../i3l/HealthPort/providers/MedicationPrescrResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edu/gatech/i3l/HealthPort/providers/MedicationPrescrResource.java b/src/edu/gatech/i3l/HealthPort/providers/MedicationPrescrResource.java index 12c1c02..29530d3 100644 --- a/src/edu/gatech/i3l/HealthPort/providers/MedicationPrescrResource.java +++ b/src/edu/gatech/i3l/HealthPort/providers/MedicationPrescrResource.java @@ -179,7 +179,7 @@ public InstantDt getPublished() { @Search() public IBundleProvider getMedicationPrescriptionsByPatient( - @RequiredParam(name = Condition.SP_SUBJECT) ReferenceParam theSubject) { + @RequiredParam(name = MedicationPrescription.SP_PATIENT) ReferenceParam theSubject) { final InstantDt searchTime = InstantDt.withCurrentTime(); String patientID = theSubject.getIdPart();