ClientMedicationsNonOrder


Click here for a complete list of operations.

SaveMedicationRow

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /GatewaySmartcareRxProd/WebServices/ClientMedicationsNonOrder.asmx HTTP/1.1
Host: sc1.gatewaycommunity.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SaveMedicationRow"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SaveMedicationRow xmlns="http://tempuri.org/">
      <objClientMedication>
        <MedicationNameId>int</MedicationNameId>
        <UserDefinedMedicationNameId>int</UserDefinedMedicationNameId>
        <ExternalMedicationNameId>int</ExternalMedicationNameId>
        <DrugPurpose>string</DrugPurpose>
        <DSMCode>string</DSMCode>
        <DSMNumber>string</DSMNumber>
        <DxId>string</DxId>
        <PrescriberName>string</PrescriberName>
        <PrescriberId>int</PrescriberId>
        <Ordered>char</Ordered>
        <VerbalOrderReadBack>string</VerbalOrderReadBack>
        <StaffLicenseDegreeId>int</StaffLicenseDegreeId>
        <OrderDate>string</OrderDate>
        <SpecialInstructions>string</SpecialInstructions>
        <MedicationName>string</MedicationName>
        <RowIdentifierCM>string</RowIdentifierCM>
        <StartDate>string</StartDate>
        <EndDate>string</EndDate>
        <DrugCategory>string</DrugCategory>
        <DAW>string</DAW>
        <MedicationId>int</MedicationId>
        <TitrateMode>string</TitrateMode>
        <TitrationType>string</TitrationType>
        <DesiredOutcome>string</DesiredOutcome>
        <Comments>string</Comments>
        <OffLabel>string</OffLabel>
        <PermitChangesByOtherUsers>string</PermitChangesByOtherUsers>
        <IncludeOnPrescription>string</IncludeOnPrescription>
        <PlanName>string</PlanName>
        <DxPurpose>string</DxPurpose>
        <IncludeCommentOnPrescription>string</IncludeCommentOnPrescription>
        <RXSource>int</RXSource>
      </objClientMedication>
      <objClientMedicationInstructions>
        <ClientMedicationInstructionRow>
          <StrengthId>int</StrengthId>
          <UserDefinedMedicationId>int</UserDefinedMedicationId>
          <Unit>string</Unit>
          <Schedule>string</Schedule>
          <Quantity>decimal</Quantity>
          <Days>int</Days>
          <Pharmacy>decimal</Pharmacy>
          <Sample>decimal</Sample>
          <Stock>decimal</Stock>
          <Refills>decimal</Refills>
          <StartDate>string</StartDate>
          <EndDate>string</EndDate>
          <Instruction>string</Instruction>
          <TitrateSummary>string</TitrateSummary>
          <RowIdentifierCMI>string</RowIdentifierCMI>
          <TitrationStep>int</TitrationStep>
          <PharmaText>string</PharmaText>
          <AutoCalcallow>string</AutoCalcallow>
          <StrengthRowIdentifier>string</StrengthRowIdentifier>
          <PotencyUnitCode>string</PotencyUnitCode>
          <NoOfDaysOfWeek>string</NoOfDaysOfWeek>
          <Direction>string</Direction>
          <Dose>string</Dose>
        </ClientMedicationInstructionRow>
        <ClientMedicationInstructionRow>
          <StrengthId>int</StrengthId>
          <UserDefinedMedicationId>int</UserDefinedMedicationId>
          <Unit>string</Unit>
          <Schedule>string</Schedule>
          <Quantity>decimal</Quantity>
          <Days>int</Days>
          <Pharmacy>decimal</Pharmacy>
          <Sample>decimal</Sample>
          <Stock>decimal</Stock>
          <Refills>decimal</Refills>
          <StartDate>string</StartDate>
          <EndDate>string</EndDate>
          <Instruction>string</Instruction>
          <TitrateSummary>string</TitrateSummary>
          <RowIdentifierCMI>string</RowIdentifierCMI>
          <TitrationStep>int</TitrationStep>
          <PharmaText>string</PharmaText>
          <AutoCalcallow>string</AutoCalcallow>
          <StrengthRowIdentifier>string</StrengthRowIdentifier>
          <PotencyUnitCode>string</PotencyUnitCode>
          <NoOfDaysOfWeek>string</NoOfDaysOfWeek>
          <Direction>string</Direction>
          <Dose>string</Dose>
        </ClientMedicationInstructionRow>
      </objClientMedicationInstructions>
      <saveTemplateFlag>string</saveTemplateFlag>
      <ContinueWithDuplicateOrderWarning>boolean</ContinueWithDuplicateOrderWarning>
    </SaveMedicationRow>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SaveMedicationRowResponse xmlns="http://tempuri.org/">
      <SaveMedicationRowResult>string</SaveMedicationRowResult>
    </SaveMedicationRowResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /GatewaySmartcareRxProd/WebServices/ClientMedicationsNonOrder.asmx HTTP/1.1
Host: sc1.gatewaycommunity.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SaveMedicationRow xmlns="http://tempuri.org/">
      <objClientMedication>
        <MedicationNameId>int</MedicationNameId>
        <UserDefinedMedicationNameId>int</UserDefinedMedicationNameId>
        <ExternalMedicationNameId>int</ExternalMedicationNameId>
        <DrugPurpose>string</DrugPurpose>
        <DSMCode>string</DSMCode>
        <DSMNumber>string</DSMNumber>
        <DxId>string</DxId>
        <PrescriberName>string</PrescriberName>
        <PrescriberId>int</PrescriberId>
        <Ordered>char</Ordered>
        <VerbalOrderReadBack>string</VerbalOrderReadBack>
        <StaffLicenseDegreeId>int</StaffLicenseDegreeId>
        <OrderDate>string</OrderDate>
        <SpecialInstructions>string</SpecialInstructions>
        <MedicationName>string</MedicationName>
        <RowIdentifierCM>string</RowIdentifierCM>
        <StartDate>string</StartDate>
        <EndDate>string</EndDate>
        <DrugCategory>string</DrugCategory>
        <DAW>string</DAW>
        <MedicationId>int</MedicationId>
        <TitrateMode>string</TitrateMode>
        <TitrationType>string</TitrationType>
        <DesiredOutcome>string</DesiredOutcome>
        <Comments>string</Comments>
        <OffLabel>string</OffLabel>
        <PermitChangesByOtherUsers>string</PermitChangesByOtherUsers>
        <IncludeOnPrescription>string</IncludeOnPrescription>
        <PlanName>string</PlanName>
        <DxPurpose>string</DxPurpose>
        <IncludeCommentOnPrescription>string</IncludeCommentOnPrescription>
        <RXSource>int</RXSource>
      </objClientMedication>
      <objClientMedicationInstructions>
        <ClientMedicationInstructionRow>
          <StrengthId>int</StrengthId>
          <UserDefinedMedicationId>int</UserDefinedMedicationId>
          <Unit>string</Unit>
          <Schedule>string</Schedule>
          <Quantity>decimal</Quantity>
          <Days>int</Days>
          <Pharmacy>decimal</Pharmacy>
          <Sample>decimal</Sample>
          <Stock>decimal</Stock>
          <Refills>decimal</Refills>
          <StartDate>string</StartDate>
          <EndDate>string</EndDate>
          <Instruction>string</Instruction>
          <TitrateSummary>string</TitrateSummary>
          <RowIdentifierCMI>string</RowIdentifierCMI>
          <TitrationStep>int</TitrationStep>
          <PharmaText>string</PharmaText>
          <AutoCalcallow>string</AutoCalcallow>
          <StrengthRowIdentifier>string</StrengthRowIdentifier>
          <PotencyUnitCode>string</PotencyUnitCode>
          <NoOfDaysOfWeek>string</NoOfDaysOfWeek>
          <Direction>string</Direction>
          <Dose>string</Dose>
        </ClientMedicationInstructionRow>
        <ClientMedicationInstructionRow>
          <StrengthId>int</StrengthId>
          <UserDefinedMedicationId>int</UserDefinedMedicationId>
          <Unit>string</Unit>
          <Schedule>string</Schedule>
          <Quantity>decimal</Quantity>
          <Days>int</Days>
          <Pharmacy>decimal</Pharmacy>
          <Sample>decimal</Sample>
          <Stock>decimal</Stock>
          <Refills>decimal</Refills>
          <StartDate>string</StartDate>
          <EndDate>string</EndDate>
          <Instruction>string</Instruction>
          <TitrateSummary>string</TitrateSummary>
          <RowIdentifierCMI>string</RowIdentifierCMI>
          <TitrationStep>int</TitrationStep>
          <PharmaText>string</PharmaText>
          <AutoCalcallow>string</AutoCalcallow>
          <StrengthRowIdentifier>string</StrengthRowIdentifier>
          <PotencyUnitCode>string</PotencyUnitCode>
          <NoOfDaysOfWeek>string</NoOfDaysOfWeek>
          <Direction>string</Direction>
          <Dose>string</Dose>
        </ClientMedicationInstructionRow>
      </objClientMedicationInstructions>
      <saveTemplateFlag>string</saveTemplateFlag>
      <ContinueWithDuplicateOrderWarning>boolean</ContinueWithDuplicateOrderWarning>
    </SaveMedicationRow>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SaveMedicationRowResponse xmlns="http://tempuri.org/">
      <SaveMedicationRowResult>string</SaveMedicationRowResult>
    </SaveMedicationRowResponse>
  </soap12:Body>
</soap12:Envelope>