From f2ce72aae58a81ab674945e52151078026dd9e9a Mon Sep 17 00:00:00 2001 From: Zach Robin Date: Fri, 10 Feb 2023 13:29:47 -0800 Subject: [PATCH] updated fields for pims endpoint --- src/components/RemsInterface/RemsInterface.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/RemsInterface/RemsInterface.jsx b/src/components/RemsInterface/RemsInterface.jsx index d36972b9..861e43a2 100644 --- a/src/components/RemsInterface/RemsInterface.jsx +++ b/src/components/RemsInterface/RemsInterface.jsx @@ -112,7 +112,7 @@ export default class RemsInterface extends Component { // console.log(`http://localhost:5051/api/getRx/paitent/${patientName}/drug/${prescriptionDisplay}`); - axios.get(`http://localhost:5051/api/getRx/paitent/${patientName}/drug/${prescriptionDisplay}`, remsAdminResponse.data, this.getAxiosOptions()).then((response) => { + axios.get(`http://localhost:5051/doctorOrders/api/getRx/patient/${patientName}/drug/${prescriptionDisplay}`, remsAdminResponse.data, this.getAxiosOptions()).then((response) => { this.setState({ response }); console.log(response); console.log(response.data); @@ -178,7 +178,7 @@ export default class RemsInterface extends Component { let patient = this.getResource(this.props.specialtyRxBundle, patientReference); let patientName = patient.name[0].given[0] + ' ' + patient.name[0].family; - axios.get(`http://localhost:5051/api/getRx/paitent/${patientName}/drug/${prescriptionDisplay}`) + axios.get(`http://localhost:5051/doctorOrders/api/getRx/patient/${patientName}/drug/${prescriptionDisplay}`) .then((response) => { this.setState({ response: response }); })