Home

RxExtendedQuery

GET api/Orders/{systemID}/RxExtendedQuery

Query the pharmacy system for extended information for one or more prescriptions (up to 35) for a single patient.

Special Remarks

Response Codes:
            
            Status: 
            [F] - Found, [D] - Discontinued, [N] - Not Found, [T] - Transferred, [I] - Invalid, [ES] - Expired Rx; [ER] - Early Refill; [NR] - No Refills 
             
            LastOrderStatus: 
            [R] - Ready, [N] - Not Ready, [D] - Delivered, [P] - Need to Speak to RPh

Request Information

Parameters

NameDescriptionAdditional information
systemID
Unique ID for system

Define this parameter in the request URI.

scripts
Array of rx numbers (e.g. scripts=12345678&scripts=12345678). [Required]

Define this parameter in the request URI.

    

Response Codes

    
  • OK (200)
  • BadRequest (400)
  • NotFound (404)
  • InternalServerError (500)
  •     

Response Information

List of Extended information for scripts

Response body formats

application/json, text/json

Sample:
[
  {
    "RxNumber": "sample string 1",
    "ChargeAccount": "sample string 2",
    "DrugCode": "sample string 3",
    "GenericDrugCode": "sample string 4",
    "Sig": "sample string 5",
    "QuantityRemaining": 6.1,
    "QuantityAuthorized": 7.1,
    "RxNotes": "sample string 8",
    "RxStartDate": "2025-12-05T22:37:10.0673633-05:00",
    "RxStopDate": "2025-12-05T22:37:10.0673633-05:00",
    "RefillsAuthorized": 11.1,
    "DateWritten": "2025-12-05T22:37:10.0673633-05:00",
    "OriginalOrderDate": "2025-12-05T22:37:10.0673633-05:00",
    "DAW": "sample string 14",
    "Status": "sample string 15",
    "DaysSupply": 16.1,
    "ExpirationDate": "2025-12-05T22:37:10.0673633-05:00",
    "DateDue": "2025-12-05T22:37:10.0673633-05:00",
    "StopOrderDate": "2025-12-05T22:37:10.0673633-05:00",
    "AuthorizationNumber": "sample string 20",
    "Special": "sample string 21",
    "ShortCycle": "sample string 22",
    "PriceAmount": 23.0,
    "PlaceOfService": "sample string 24",
    "TypeOfService": "sample string 25",
    "SpecialPackageIndicator": "sample string 26",
    "RxOrigin": "sample string 27",
    "PartialRefillStatus": "sample string 28",
    "IntendedQuantity": 29.1,
    "IntendedDaysSupply": 30.1
  },
  {
    "RxNumber": "sample string 1",
    "ChargeAccount": "sample string 2",
    "DrugCode": "sample string 3",
    "GenericDrugCode": "sample string 4",
    "Sig": "sample string 5",
    "QuantityRemaining": 6.1,
    "QuantityAuthorized": 7.1,
    "RxNotes": "sample string 8",
    "RxStartDate": "2025-12-05T22:37:10.0673633-05:00",
    "RxStopDate": "2025-12-05T22:37:10.0673633-05:00",
    "RefillsAuthorized": 11.1,
    "DateWritten": "2025-12-05T22:37:10.0673633-05:00",
    "OriginalOrderDate": "2025-12-05T22:37:10.0673633-05:00",
    "DAW": "sample string 14",
    "Status": "sample string 15",
    "DaysSupply": 16.1,
    "ExpirationDate": "2025-12-05T22:37:10.0673633-05:00",
    "DateDue": "2025-12-05T22:37:10.0673633-05:00",
    "StopOrderDate": "2025-12-05T22:37:10.0673633-05:00",
    "AuthorizationNumber": "sample string 20",
    "Special": "sample string 21",
    "ShortCycle": "sample string 22",
    "PriceAmount": 23.0,
    "PlaceOfService": "sample string 24",
    "TypeOfService": "sample string 25",
    "SpecialPackageIndicator": "sample string 26",
    "RxOrigin": "sample string 27",
    "PartialRefillStatus": "sample string 28",
    "IntendedQuantity": 29.1,
    "IntendedDaysSupply": 30.1
  },
  {
    "RxNumber": "sample string 1",
    "ChargeAccount": "sample string 2",
    "DrugCode": "sample string 3",
    "GenericDrugCode": "sample string 4",
    "Sig": "sample string 5",
    "QuantityRemaining": 6.1,
    "QuantityAuthorized": 7.1,
    "RxNotes": "sample string 8",
    "RxStartDate": "2025-12-05T22:37:10.0673633-05:00",
    "RxStopDate": "2025-12-05T22:37:10.0673633-05:00",
    "RefillsAuthorized": 11.1,
    "DateWritten": "2025-12-05T22:37:10.0673633-05:00",
    "OriginalOrderDate": "2025-12-05T22:37:10.0673633-05:00",
    "DAW": "sample string 14",
    "Status": "sample string 15",
    "DaysSupply": 16.1,
    "ExpirationDate": "2025-12-05T22:37:10.0673633-05:00",
    "DateDue": "2025-12-05T22:37:10.0673633-05:00",
    "StopOrderDate": "2025-12-05T22:37:10.0673633-05:00",
    "AuthorizationNumber": "sample string 20",
    "Special": "sample string 21",
    "ShortCycle": "sample string 22",
    "PriceAmount": 23.0,
    "PlaceOfService": "sample string 24",
    "TypeOfService": "sample string 25",
    "SpecialPackageIndicator": "sample string 26",
    "RxOrigin": "sample string 27",
    "PartialRefillStatus": "sample string 28",
    "IntendedQuantity": 29.1,
    "IntendedDaysSupply": 30.1
  }
]

text/javascript

Sample:
[{"RxNumber":"sample string 1","ChargeAccount":"sample string 2","DrugCode":"sample string 3","GenericDrugCode":"sample string 4","Sig":"sample string 5","QuantityRemaining":6.1,"QuantityAuthorized":7.1,"RxNotes":"sample string 8","RxStartDate":"2025-12-05T22:37:10.0673633-05:00","RxStopDate":"2025-12-05T22:37:10.0673633-05:00","RefillsAuthorized":11.1,"DateWritten":"2025-12-05T22:37:10.0673633-05:00","OriginalOrderDate":"2025-12-05T22:37:10.0673633-05:00","DAW":"sample string 14","Status":"sample string 15","DaysSupply":16.1,"ExpirationDate":"2025-12-05T22:37:10.0673633-05:00","DateDue":"2025-12-05T22:37:10.0673633-05:00","StopOrderDate":"2025-12-05T22:37:10.0673633-05:00","AuthorizationNumber":"sample string 20","Special":"sample string 21","ShortCycle":"sample string 22","PriceAmount":23.0,"PlaceOfService":"sample string 24","TypeOfService":"sample string 25","SpecialPackageIndicator":"sample string 26","RxOrigin":"sample string 27","PartialRefillStatus":"sample string 28","IntendedQuantity":29.1,"IntendedDaysSupply":30.1},{"RxNumber":"sample string 1","ChargeAccount":"sample string 2","DrugCode":"sample string 3","GenericDrugCode":"sample string 4","Sig":"sample string 5","QuantityRemaining":6.1,"QuantityAuthorized":7.1,"RxNotes":"sample string 8","RxStartDate":"2025-12-05T22:37:10.0673633-05:00","RxStopDate":"2025-12-05T22:37:10.0673633-05:00","RefillsAuthorized":11.1,"DateWritten":"2025-12-05T22:37:10.0673633-05:00","OriginalOrderDate":"2025-12-05T22:37:10.0673633-05:00","DAW":"sample string 14","Status":"sample string 15","DaysSupply":16.1,"ExpirationDate":"2025-12-05T22:37:10.0673633-05:00","DateDue":"2025-12-05T22:37:10.0673633-05:00","StopOrderDate":"2025-12-05T22:37:10.0673633-05:00","AuthorizationNumber":"sample string 20","Special":"sample string 21","ShortCycle":"sample string 22","PriceAmount":23.0,"PlaceOfService":"sample string 24","TypeOfService":"sample string 25","SpecialPackageIndicator":"sample string 26","RxOrigin":"sample string 27","PartialRefillStatus":"sample string 28","IntendedQuantity":29.1,"IntendedDaysSupply":30.1},{"RxNumber":"sample string 1","ChargeAccount":"sample string 2","DrugCode":"sample string 3","GenericDrugCode":"sample string 4","Sig":"sample string 5","QuantityRemaining":6.1,"QuantityAuthorized":7.1,"RxNotes":"sample string 8","RxStartDate":"2025-12-05T22:37:10.0673633-05:00","RxStopDate":"2025-12-05T22:37:10.0673633-05:00","RefillsAuthorized":11.1,"DateWritten":"2025-12-05T22:37:10.0673633-05:00","OriginalOrderDate":"2025-12-05T22:37:10.0673633-05:00","DAW":"sample string 14","Status":"sample string 15","DaysSupply":16.1,"ExpirationDate":"2025-12-05T22:37:10.0673633-05:00","DateDue":"2025-12-05T22:37:10.0673633-05:00","StopOrderDate":"2025-12-05T22:37:10.0673633-05:00","AuthorizationNumber":"sample string 20","Special":"sample string 21","ShortCycle":"sample string 22","PriceAmount":23.0,"PlaceOfService":"sample string 24","TypeOfService":"sample string 25","SpecialPackageIndicator":"sample string 26","RxOrigin":"sample string 27","PartialRefillStatus":"sample string 28","IntendedQuantity":29.1,"IntendedDaysSupply":30.1}]

application/xml, text/xml

Sample:
<ArrayOfRxExtendedInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QCFWebAPI.Models">
  <RxExtendedInfo>
    <AuthorizationNumber>sample string 20</AuthorizationNumber>
    <ChargeAccount>sample string 2</ChargeAccount>
    <DAW>sample string 14</DAW>
    <DateDue>2025-12-05T22:37:10.0673633-05:00</DateDue>
    <DateWritten>2025-12-05T22:37:10.0673633-05:00</DateWritten>
    <DaysSupply>16.1</DaysSupply>
    <DrugCode>sample string 3</DrugCode>
    <ExpirationDate>2025-12-05T22:37:10.0673633-05:00</ExpirationDate>
    <GenericDrugCode>sample string 4</GenericDrugCode>
    <IntendedDaysSupply>30.1</IntendedDaysSupply>
    <IntendedQuantity>29.1</IntendedQuantity>
    <OriginalOrderDate>2025-12-05T22:37:10.0673633-05:00</OriginalOrderDate>
    <PartialRefillStatus>sample string 28</PartialRefillStatus>
    <PlaceOfService>sample string 24</PlaceOfService>
    <PriceAmount>23</PriceAmount>
    <QuantityAuthorized>7.1</QuantityAuthorized>
    <QuantityRemaining>6.1</QuantityRemaining>
    <RefillsAuthorized>11.1</RefillsAuthorized>
    <RxNotes>sample string 8</RxNotes>
    <RxNumber>sample string 1</RxNumber>
    <RxOrigin>sample string 27</RxOrigin>
    <RxStartDate>2025-12-05T22:37:10.0673633-05:00</RxStartDate>
    <RxStopDate>2025-12-05T22:37:10.0673633-05:00</RxStopDate>
    <ShortCycle>sample string 22</ShortCycle>
    <Sig>sample string 5</Sig>
    <Special>sample string 21</Special>
    <SpecialPackageIndicator>sample string 26</SpecialPackageIndicator>
    <Status>sample string 15</Status>
    <StopOrderDate>2025-12-05T22:37:10.0673633-05:00</StopOrderDate>
    <TypeOfService>sample string 25</TypeOfService>
  </RxExtendedInfo>
  <RxExtendedInfo>
    <AuthorizationNumber>sample string 20</AuthorizationNumber>
    <ChargeAccount>sample string 2</ChargeAccount>
    <DAW>sample string 14</DAW>
    <DateDue>2025-12-05T22:37:10.0673633-05:00</DateDue>
    <DateWritten>2025-12-05T22:37:10.0673633-05:00</DateWritten>
    <DaysSupply>16.1</DaysSupply>
    <DrugCode>sample string 3</DrugCode>
    <ExpirationDate>2025-12-05T22:37:10.0673633-05:00</ExpirationDate>
    <GenericDrugCode>sample string 4</GenericDrugCode>
    <IntendedDaysSupply>30.1</IntendedDaysSupply>
    <IntendedQuantity>29.1</IntendedQuantity>
    <OriginalOrderDate>2025-12-05T22:37:10.0673633-05:00</OriginalOrderDate>
    <PartialRefillStatus>sample string 28</PartialRefillStatus>
    <PlaceOfService>sample string 24</PlaceOfService>
    <PriceAmount>23</PriceAmount>
    <QuantityAuthorized>7.1</QuantityAuthorized>
    <QuantityRemaining>6.1</QuantityRemaining>
    <RefillsAuthorized>11.1</RefillsAuthorized>
    <RxNotes>sample string 8</RxNotes>
    <RxNumber>sample string 1</RxNumber>
    <RxOrigin>sample string 27</RxOrigin>
    <RxStartDate>2025-12-05T22:37:10.0673633-05:00</RxStartDate>
    <RxStopDate>2025-12-05T22:37:10.0673633-05:00</RxStopDate>
    <ShortCycle>sample string 22</ShortCycle>
    <Sig>sample string 5</Sig>
    <Special>sample string 21</Special>
    <SpecialPackageIndicator>sample string 26</SpecialPackageIndicator>
    <Status>sample string 15</Status>
    <StopOrderDate>2025-12-05T22:37:10.0673633-05:00</StopOrderDate>
    <TypeOfService>sample string 25</TypeOfService>
  </RxExtendedInfo>
  <RxExtendedInfo>
    <AuthorizationNumber>sample string 20</AuthorizationNumber>
    <ChargeAccount>sample string 2</ChargeAccount>
    <DAW>sample string 14</DAW>
    <DateDue>2025-12-05T22:37:10.0673633-05:00</DateDue>
    <DateWritten>2025-12-05T22:37:10.0673633-05:00</DateWritten>
    <DaysSupply>16.1</DaysSupply>
    <DrugCode>sample string 3</DrugCode>
    <ExpirationDate>2025-12-05T22:37:10.0673633-05:00</ExpirationDate>
    <GenericDrugCode>sample string 4</GenericDrugCode>
    <IntendedDaysSupply>30.1</IntendedDaysSupply>
    <IntendedQuantity>29.1</IntendedQuantity>
    <OriginalOrderDate>2025-12-05T22:37:10.0673633-05:00</OriginalOrderDate>
    <PartialRefillStatus>sample string 28</PartialRefillStatus>
    <PlaceOfService>sample string 24</PlaceOfService>
    <PriceAmount>23</PriceAmount>
    <QuantityAuthorized>7.1</QuantityAuthorized>
    <QuantityRemaining>6.1</QuantityRemaining>
    <RefillsAuthorized>11.1</RefillsAuthorized>
    <RxNotes>sample string 8</RxNotes>
    <RxNumber>sample string 1</RxNumber>
    <RxOrigin>sample string 27</RxOrigin>
    <RxStartDate>2025-12-05T22:37:10.0673633-05:00</RxStartDate>
    <RxStopDate>2025-12-05T22:37:10.0673633-05:00</RxStopDate>
    <ShortCycle>sample string 22</ShortCycle>
    <Sig>sample string 5</Sig>
    <Special>sample string 21</Special>
    <SpecialPackageIndicator>sample string 26</SpecialPackageIndicator>
    <Status>sample string 15</Status>
    <StopOrderDate>2025-12-05T22:37:10.0673633-05:00</StopOrderDate>
    <TypeOfService>sample string 25</TypeOfService>
  </RxExtendedInfo>
</ArrayOfRxExtendedInfo>