Skip to content

Commit

Permalink
removed double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyrobin committed Jan 8, 2024
1 parent 7801ae3 commit c13ea23
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions backend/src/ncpdpScriptBuilder/buildScript.v2017071.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,34 @@ export default function buildRxStatus(caseNumber, doctorName, drugNames) {
var time = new Date();
var rxStatus =
{
"RxStatus": [
'RxStatus': [
{
"Message": [
'Message': [
{
"Header": [
'Header': [
{
"To": doctorName
'To': doctorName
},
{
"From": "Pharmacy" // Placeholder: This is dependant on individual pharmacy
'From': 'Pharmacy' // Placeholder: This is dependant on individual pharmacy
},
{
"Message": "NewRx Request Recieved For: " + drugNames
'Message': 'NewRx Request Recieved For: ' + drugNames
},
{
"RelatesToMessageID": caseNumber // Placeholder: This is dependant on individual pharmacy, using Case Number
'RelatesToMessageID': caseNumber // Placeholder: This is dependant on individual pharmacy, using Case Number
},
{
"Time": time
'Time': time
},
]
},
{
"Body": [
'Body': [
{
"Status": [
'Status': [
{
"Code": "200" // Placeholder: This is dependant on individual pharmacy
'Code': '200' // Placeholder: This is dependant on individual pharmacy
}
]
}
Expand All @@ -43,7 +43,7 @@ export default function buildRxStatus(caseNumber, doctorName, drugNames) {
}
]
};
const builder = new XMLBuilder({ oneListGroup: "true" });
const builder = new XMLBuilder({ oneListGroup: 'true' });
var RxStatus = builder.build(rxStatus);

return RxStatus;
Expand Down

0 comments on commit c13ea23

Please sign in to comment.