POST api/Doctor/SavePatientServices

Request Information

URI Parameters

None.

Body Parameters

SaveServices
NameDescriptionTypeAdditional information
HospitalLocationId

integer

Required

FacilityId

integer

Required

RegistrationId

integer

Required

EncounterId

integer

Required

CompanyId

integer

Required

EncodedBy

integer

Required

DoctorId

integer

Required

OPIP

string

Required

OrderDate

string

None.

CalculationRequired

string

None.

Remarks

string

None.

Services

Collection of PatientServices

None.

OrderType

string

None.

PatientAlert

string

None.

CompanyCode

string

None.

InsuranceId

integer

None.

CardId

integer

None.

AllergyReviewed

integer

None.

ERorEMRServices

integer

None.

RequestId

integer

None.

TemplateDetails

string

None.

EntrySite

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "HospitalLocationId": 1,
  "FacilityId": 2,
  "RegistrationId": 3,
  "EncounterId": 4,
  "CompanyId": 5,
  "EncodedBy": 6,
  "DoctorId": 7,
  "OPIP": "sample string 8",
  "OrderDate": "sample string 9",
  "CalculationRequired": "sample string 10",
  "Remarks": "sample string 11",
  "Services": [
    {
      "ServiceId": 1,
      "VisitDate": "sample string 2",
      "Units": 3,
      "DoctorId": 4,
      "ServiceAmount": 5.0,
      "DoctorAmount": 6.0,
      "ServiceDiscountAmount": 7.0,
      "DoctorDiscountAmount": 8.0,
      "AmountPayableByPatient": 9.0,
      "AmountPayableByPayer": 10.0,
      "ServiceDiscountPer": 11.0,
      "DoctorDiscountPer": 12.0,
      "PackageId": 13,
      "OrderId": 14,
      "UnderPackage": 15,
      "ICDID": "sample string 16",
      "ResourceID": 17,
      "SurgeryAmount": 18.0,
      "ProviderPercent": 19.0,
      "SeQNo": 20,
      "Serviceremarks": "sample string 21",
      "DetailId": 22,
      "CoPayAmt": 23.0,
      "DeductableAmount": 24.0,
      "ApprovalCode": "sample string 25",
      "FacilityId": 26,
      "Stat": 27,
      "IsExcluded": 28,
      "TestDateTime": "sample string 29",
      "IsOrderservice": 30
    },
    {
      "ServiceId": 1,
      "VisitDate": "sample string 2",
      "Units": 3,
      "DoctorId": 4,
      "ServiceAmount": 5.0,
      "DoctorAmount": 6.0,
      "ServiceDiscountAmount": 7.0,
      "DoctorDiscountAmount": 8.0,
      "AmountPayableByPatient": 9.0,
      "AmountPayableByPayer": 10.0,
      "ServiceDiscountPer": 11.0,
      "DoctorDiscountPer": 12.0,
      "PackageId": 13,
      "OrderId": 14,
      "UnderPackage": 15,
      "ICDID": "sample string 16",
      "ResourceID": 17,
      "SurgeryAmount": 18.0,
      "ProviderPercent": 19.0,
      "SeQNo": 20,
      "Serviceremarks": "sample string 21",
      "DetailId": 22,
      "CoPayAmt": 23.0,
      "DeductableAmount": 24.0,
      "ApprovalCode": "sample string 25",
      "FacilityId": 26,
      "Stat": 27,
      "IsExcluded": 28,
      "TestDateTime": "sample string 29",
      "IsOrderservice": 30
    }
  ],
  "OrderType": "sample string 12",
  "PatientAlert": "sample string 13",
  "CompanyCode": "sample string 14",
  "InsuranceId": 15,
  "CardId": 16,
  "AllergyReviewed": 17,
  "ERorEMRServices": 18,
  "RequestId": 19,
  "TemplateDetails": "sample string 20",
  "EntrySite": 21
}

application/xml, text/xml

Sample:
<SaveServices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FindDoctorService">
  <AllergyReviewed>17</AllergyReviewed>
  <CalculationRequired>sample string 10</CalculationRequired>
  <CardId>16</CardId>
  <CompanyCode>sample string 14</CompanyCode>
  <CompanyId>5</CompanyId>
  <DoctorId>7</DoctorId>
  <ERorEMRServices>18</ERorEMRServices>
  <EncodedBy>6</EncodedBy>
  <EncounterId>4</EncounterId>
  <EntrySite>21</EntrySite>
  <FacilityId>2</FacilityId>
  <HospitalLocationId>1</HospitalLocationId>
  <InsuranceId>15</InsuranceId>
  <OPIP>sample string 8</OPIP>
  <OrderDate>sample string 9</OrderDate>
  <OrderType>sample string 12</OrderType>
  <PatientAlert>sample string 13</PatientAlert>
  <RegistrationId>3</RegistrationId>
  <Remarks>sample string 11</Remarks>
  <RequestId>19</RequestId>
  <Services>
    <PatientServices>
      <AmountPayableByPatient>9</AmountPayableByPatient>
      <AmountPayableByPayer>10</AmountPayableByPayer>
      <ApprovalCode>sample string 25</ApprovalCode>
      <CoPayAmt>23</CoPayAmt>
      <DeductableAmount>24</DeductableAmount>
      <DetailId>22</DetailId>
      <DoctorAmount>6</DoctorAmount>
      <DoctorDiscountAmount>8</DoctorDiscountAmount>
      <DoctorDiscountPer>12</DoctorDiscountPer>
      <DoctorId>4</DoctorId>
      <FacilityId>26</FacilityId>
      <ICDID>sample string 16</ICDID>
      <IsExcluded>28</IsExcluded>
      <IsOrderservice>30</IsOrderservice>
      <OrderId>14</OrderId>
      <PackageId>13</PackageId>
      <ProviderPercent>19</ProviderPercent>
      <ResourceID>17</ResourceID>
      <SeQNo>20</SeQNo>
      <ServiceAmount>5</ServiceAmount>
      <ServiceDiscountAmount>7</ServiceDiscountAmount>
      <ServiceDiscountPer>11</ServiceDiscountPer>
      <ServiceId>1</ServiceId>
      <Serviceremarks>sample string 21</Serviceremarks>
      <Stat>27</Stat>
      <SurgeryAmount>18</SurgeryAmount>
      <TestDateTime>sample string 29</TestDateTime>
      <UnderPackage>15</UnderPackage>
      <Units>3</Units>
      <VisitDate>sample string 2</VisitDate>
    </PatientServices>
    <PatientServices>
      <AmountPayableByPatient>9</AmountPayableByPatient>
      <AmountPayableByPayer>10</AmountPayableByPayer>
      <ApprovalCode>sample string 25</ApprovalCode>
      <CoPayAmt>23</CoPayAmt>
      <DeductableAmount>24</DeductableAmount>
      <DetailId>22</DetailId>
      <DoctorAmount>6</DoctorAmount>
      <DoctorDiscountAmount>8</DoctorDiscountAmount>
      <DoctorDiscountPer>12</DoctorDiscountPer>
      <DoctorId>4</DoctorId>
      <FacilityId>26</FacilityId>
      <ICDID>sample string 16</ICDID>
      <IsExcluded>28</IsExcluded>
      <IsOrderservice>30</IsOrderservice>
      <OrderId>14</OrderId>
      <PackageId>13</PackageId>
      <ProviderPercent>19</ProviderPercent>
      <ResourceID>17</ResourceID>
      <SeQNo>20</SeQNo>
      <ServiceAmount>5</ServiceAmount>
      <ServiceDiscountAmount>7</ServiceDiscountAmount>
      <ServiceDiscountPer>11</ServiceDiscountPer>
      <ServiceId>1</ServiceId>
      <Serviceremarks>sample string 21</Serviceremarks>
      <Stat>27</Stat>
      <SurgeryAmount>18</SurgeryAmount>
      <TestDateTime>sample string 29</TestDateTime>
      <UnderPackage>15</UnderPackage>
      <Units>3</Units>
      <VisitDate>sample string 2</VisitDate>
    </PatientServices>
  </Services>
  <TemplateDetails>sample string 20</TemplateDetails>
</SaveServices>

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.