POST api/Doctor/Saveserviceorder

Request Information

URI Parameters

None.

Body Parameters

serviceorderdetails
NameDescriptionTypeAdditional information
iHospitalLocationId

integer

None.

iFacilityId

integer

None.

iRegistrationId

integer

None.

iEncodedBy

integer

None.

iDoctorId

integer

None.

iCompanyId

integer

None.

iInsuranceId

integer

None.

iCardId

integer

None.

IsERorEMRServices

integer

None.

RequestId

integer

None.

EntrySite

integer

None.

iEncounterId

integer

None.

StrXML

Collection of EMROrders

None.

sXMLPatientAlert

string

None.

sRemark

string

None.

sOrderType

string

None.

cPayerType

string

None.

sPatientOPIP

string

None.

sChargeCalculationRequired

string

None.

xmlTemplateDetails

string

None.

ReadBackNote

string

None.

dtOrderDate

string

None.

bAllergyReviewed

boolean

None.

IsApprovalRequired

boolean

None.

IsReadBack

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "iHospitalLocationId": 1,
  "iFacilityId": 2,
  "iRegistrationId": 3,
  "iEncodedBy": 4,
  "iDoctorId": 5,
  "iCompanyId": 6,
  "iInsuranceId": 7,
  "iCardId": 8,
  "IsERorEMRServices": 9,
  "RequestId": 10,
  "EntrySite": 11,
  "iEncounterId": 12,
  "StrXML": [
    {
      "ServiceID": 1,
      "lblUnits": 2,
      "doctorId": 3,
      "ServiceAmount": 4.0,
      "DoctorAmount": 5.0,
      "ServiceDiscountAmount": 6.0,
      "DoctorDiscountAmount": 7.0,
      "AmountPayableByPatient": 8.0,
      "AmountPayableByPayer": 9.0,
      "ServiceDiscountPercentage": 10.0,
      "DoctorDiscountPercentage": 11.0,
      "PackageId": 12,
      "OrderId": 13,
      "UnderPackage": 14,
      "ICDID": "sample string 15",
      "ResourceID": 16,
      "SurgeryAmount": "sample string 17",
      "ProviderPercent": "sample string 18",
      "SNo": 19,
      "ServiceRemarks": "sample string 20",
      "DetailId": 21,
      "CopayAmt": 22.0,
      "DeductableAmount": 23.0,
      "FacilityId": "sample string 24",
      "Stat": true,
      "IsExcluded": true,
      "InvestigationDate": "sample string 27",
      "FreeTest": true,
      "CPOERemark": "sample string 29",
      "IsDoneByAsstSurgeon": true,
      "isNonDiscService": true,
      "IsPriceEditableFromEMR": true,
      "Urgent": true,
      "POCRequest": true,
      "CopayPerc": 35.0,
      "ServiceDurationId": 36,
      "SurgeryId": 37,
      "IsBioHazard": "sample string 38",
      "SurgeryComponentId": 39,
      "AssignToEmpId": 40,
      "IsAddOnTest": "sample string 41",
      "IsServiceApprovalRequired": true,
      "ToDate": "sample string 43",
      "TariffId": 44,
      "IsBedChargeService": 45
    },
    {
      "ServiceID": 1,
      "lblUnits": 2,
      "doctorId": 3,
      "ServiceAmount": 4.0,
      "DoctorAmount": 5.0,
      "ServiceDiscountAmount": 6.0,
      "DoctorDiscountAmount": 7.0,
      "AmountPayableByPatient": 8.0,
      "AmountPayableByPayer": 9.0,
      "ServiceDiscountPercentage": 10.0,
      "DoctorDiscountPercentage": 11.0,
      "PackageId": 12,
      "OrderId": 13,
      "UnderPackage": 14,
      "ICDID": "sample string 15",
      "ResourceID": 16,
      "SurgeryAmount": "sample string 17",
      "ProviderPercent": "sample string 18",
      "SNo": 19,
      "ServiceRemarks": "sample string 20",
      "DetailId": 21,
      "CopayAmt": 22.0,
      "DeductableAmount": 23.0,
      "FacilityId": "sample string 24",
      "Stat": true,
      "IsExcluded": true,
      "InvestigationDate": "sample string 27",
      "FreeTest": true,
      "CPOERemark": "sample string 29",
      "IsDoneByAsstSurgeon": true,
      "isNonDiscService": true,
      "IsPriceEditableFromEMR": true,
      "Urgent": true,
      "POCRequest": true,
      "CopayPerc": 35.0,
      "ServiceDurationId": 36,
      "SurgeryId": 37,
      "IsBioHazard": "sample string 38",
      "SurgeryComponentId": 39,
      "AssignToEmpId": 40,
      "IsAddOnTest": "sample string 41",
      "IsServiceApprovalRequired": true,
      "ToDate": "sample string 43",
      "TariffId": 44,
      "IsBedChargeService": 45
    }
  ],
  "sXMLPatientAlert": "sample string 13",
  "sRemark": "sample string 14",
  "sOrderType": "sample string 15",
  "cPayerType": "sample string 16",
  "sPatientOPIP": "sample string 17",
  "sChargeCalculationRequired": "sample string 18",
  "xmlTemplateDetails": "sample string 19",
  "ReadBackNote": "sample string 20",
  "dtOrderDate": "sample string 21",
  "bAllergyReviewed": true,
  "IsApprovalRequired": true,
  "IsReadBack": true
}

application/xml, text/xml

Sample:
<serviceorderdetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FindDoctorService">
  <EntrySite>11</EntrySite>
  <IsApprovalRequired>true</IsApprovalRequired>
  <IsERorEMRServices>9</IsERorEMRServices>
  <IsReadBack>true</IsReadBack>
  <ReadBackNote>sample string 20</ReadBackNote>
  <RequestId>10</RequestId>
  <StrXML>
    <EMROrders>
      <AmountPayableByPatient>8</AmountPayableByPatient>
      <AmountPayableByPayer>9</AmountPayableByPayer>
      <AssignToEmpId>40</AssignToEmpId>
      <CPOERemark>sample string 29</CPOERemark>
      <CopayAmt>22</CopayAmt>
      <CopayPerc>35</CopayPerc>
      <DeductableAmount>23</DeductableAmount>
      <DetailId>21</DetailId>
      <DoctorAmount>5</DoctorAmount>
      <DoctorDiscountAmount>7</DoctorDiscountAmount>
      <DoctorDiscountPercentage>11</DoctorDiscountPercentage>
      <FacilityId>sample string 24</FacilityId>
      <FreeTest>true</FreeTest>
      <ICDID>sample string 15</ICDID>
      <InvestigationDate>sample string 27</InvestigationDate>
      <IsAddOnTest>sample string 41</IsAddOnTest>
      <IsBedChargeService>45</IsBedChargeService>
      <IsBioHazard>sample string 38</IsBioHazard>
      <IsDoneByAsstSurgeon>true</IsDoneByAsstSurgeon>
      <IsExcluded>true</IsExcluded>
      <IsPriceEditableFromEMR>true</IsPriceEditableFromEMR>
      <IsServiceApprovalRequired>true</IsServiceApprovalRequired>
      <OrderId>13</OrderId>
      <POCRequest>true</POCRequest>
      <PackageId>12</PackageId>
      <ProviderPercent>sample string 18</ProviderPercent>
      <ResourceID>16</ResourceID>
      <SNo>19</SNo>
      <ServiceAmount>4</ServiceAmount>
      <ServiceDiscountAmount>6</ServiceDiscountAmount>
      <ServiceDiscountPercentage>10</ServiceDiscountPercentage>
      <ServiceDurationId>36</ServiceDurationId>
      <ServiceID>1</ServiceID>
      <ServiceRemarks>sample string 20</ServiceRemarks>
      <Stat>true</Stat>
      <SurgeryAmount>sample string 17</SurgeryAmount>
      <SurgeryComponentId>39</SurgeryComponentId>
      <SurgeryId>37</SurgeryId>
      <TariffId>44</TariffId>
      <ToDate>sample string 43</ToDate>
      <UnderPackage>14</UnderPackage>
      <Urgent>true</Urgent>
      <doctorId>3</doctorId>
      <isNonDiscService>true</isNonDiscService>
      <lblUnits>2</lblUnits>
    </EMROrders>
    <EMROrders>
      <AmountPayableByPatient>8</AmountPayableByPatient>
      <AmountPayableByPayer>9</AmountPayableByPayer>
      <AssignToEmpId>40</AssignToEmpId>
      <CPOERemark>sample string 29</CPOERemark>
      <CopayAmt>22</CopayAmt>
      <CopayPerc>35</CopayPerc>
      <DeductableAmount>23</DeductableAmount>
      <DetailId>21</DetailId>
      <DoctorAmount>5</DoctorAmount>
      <DoctorDiscountAmount>7</DoctorDiscountAmount>
      <DoctorDiscountPercentage>11</DoctorDiscountPercentage>
      <FacilityId>sample string 24</FacilityId>
      <FreeTest>true</FreeTest>
      <ICDID>sample string 15</ICDID>
      <InvestigationDate>sample string 27</InvestigationDate>
      <IsAddOnTest>sample string 41</IsAddOnTest>
      <IsBedChargeService>45</IsBedChargeService>
      <IsBioHazard>sample string 38</IsBioHazard>
      <IsDoneByAsstSurgeon>true</IsDoneByAsstSurgeon>
      <IsExcluded>true</IsExcluded>
      <IsPriceEditableFromEMR>true</IsPriceEditableFromEMR>
      <IsServiceApprovalRequired>true</IsServiceApprovalRequired>
      <OrderId>13</OrderId>
      <POCRequest>true</POCRequest>
      <PackageId>12</PackageId>
      <ProviderPercent>sample string 18</ProviderPercent>
      <ResourceID>16</ResourceID>
      <SNo>19</SNo>
      <ServiceAmount>4</ServiceAmount>
      <ServiceDiscountAmount>6</ServiceDiscountAmount>
      <ServiceDiscountPercentage>10</ServiceDiscountPercentage>
      <ServiceDurationId>36</ServiceDurationId>
      <ServiceID>1</ServiceID>
      <ServiceRemarks>sample string 20</ServiceRemarks>
      <Stat>true</Stat>
      <SurgeryAmount>sample string 17</SurgeryAmount>
      <SurgeryComponentId>39</SurgeryComponentId>
      <SurgeryId>37</SurgeryId>
      <TariffId>44</TariffId>
      <ToDate>sample string 43</ToDate>
      <UnderPackage>14</UnderPackage>
      <Urgent>true</Urgent>
      <doctorId>3</doctorId>
      <isNonDiscService>true</isNonDiscService>
      <lblUnits>2</lblUnits>
    </EMROrders>
  </StrXML>
  <bAllergyReviewed>true</bAllergyReviewed>
  <cPayerType>sample string 16</cPayerType>
  <dtOrderDate>sample string 21</dtOrderDate>
  <iCardId>8</iCardId>
  <iCompanyId>6</iCompanyId>
  <iDoctorId>5</iDoctorId>
  <iEncodedBy>4</iEncodedBy>
  <iEncounterId>12</iEncounterId>
  <iFacilityId>2</iFacilityId>
  <iHospitalLocationId>1</iHospitalLocationId>
  <iInsuranceId>7</iInsuranceId>
  <iRegistrationId>3</iRegistrationId>
  <sChargeCalculationRequired>sample string 18</sChargeCalculationRequired>
  <sOrderType>sample string 15</sOrderType>
  <sPatientOPIP>sample string 17</sPatientOPIP>
  <sRemark>sample string 14</sRemark>
  <sXMLPatientAlert>sample string 13</sXMLPatientAlert>
  <xmlTemplateDetails>sample string 19</xmlTemplateDetails>
</serviceorderdetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.