POST api/Doctor/SaveItem

Request Information

URI Parameters

None.

Body Parameters

SaveItemInput
NameDescriptionTypeAdditional information
HospitalLocationId

integer

None.

FacilityId

integer

None.

RegistrationId

integer

None.

EncounterId

integer

None.

IndentType

integer

None.

AdvisingDoctorId

integer

None.

xmlItems

Collection of Item

None.

xmlItemDetail

Collection of ItemDetails

None.

xmlFrequencyTime

Collection of ItemFrequencyTime

None.

Remarks

string

None.

EncodedBy

integer

None.

IsConsumable

boolean

None.

StoreId

integer

None.

DrugOrderType

integer

None.

UnApprovedPrescriptionIds

string

None.

RequestFromOtherWardId

integer

None.

IsFromWard

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "HospitalLocationId": 1,
  "FacilityId": 2,
  "RegistrationId": 3,
  "EncounterId": 4,
  "IndentType": 5,
  "AdvisingDoctorId": 6,
  "xmlItems": [
    {
      "IndentId": 1,
      "ItemId": 2,
      "CustomMedication": "sample string 3",
      "GenericId": 4,
      "FormulationId": 5,
      "RouteId": 6,
      "StrengthId": 7,
      "TotalQty": 8.0,
      "StartDate": "sample string 9",
      "EndDate": "sample string 10",
      "NotToPharmacy": true,
      "rrideComments": "sample string 12",
      "OverrideCommentsDrugToDrug": "sample string 13",
      "OverrideCommentsDrugHealth": "sample string 14",
      "PrescriptionDetail": "sample string 15",
      "StrengthValue": "sample string 16",
      "OriginalQty": 17.0,
      "UnitName": 18
    },
    {
      "IndentId": 1,
      "ItemId": 2,
      "CustomMedication": "sample string 3",
      "GenericId": 4,
      "FormulationId": 5,
      "RouteId": 6,
      "StrengthId": 7,
      "TotalQty": 8.0,
      "StartDate": "sample string 9",
      "EndDate": "sample string 10",
      "NotToPharmacy": true,
      "rrideComments": "sample string 12",
      "OverrideCommentsDrugToDrug": "sample string 13",
      "OverrideCommentsDrugHealth": "sample string 14",
      "PrescriptionDetail": "sample string 15",
      "StrengthValue": "sample string 16",
      "OriginalQty": 17.0,
      "UnitName": 18
    }
  ],
  "xmlItemDetail": [
    {
      "ItemId": 1,
      "FrequencyId": 2,
      "Dose": 3.0,
      "Duration": "sample string 4",
      "Type": "sample string 5",
      "Instructions": "sample string 6",
      "UnitId": 7,
      "ReferanceItemId": 8,
      "FoodRelationshipId": 9,
      "DoseTypeId": 10,
      "Volume": "sample string 11",
      "VolumeUnitId": 12,
      "InfusionTime": "sample string 13",
      "TimeUnit": 14,
      "TotalVolume": "sample string 15",
      "FlowRate": "sample string 16",
      "FlowRateUnit": 17,
      "VariableDoseDate": "sample string 18",
      "IsSubstituteNotAllow": true,
      "ICDCode": 20
    },
    {
      "ItemId": 1,
      "FrequencyId": 2,
      "Dose": 3.0,
      "Duration": "sample string 4",
      "Type": "sample string 5",
      "Instructions": "sample string 6",
      "UnitId": 7,
      "ReferanceItemId": 8,
      "FoodRelationshipId": 9,
      "DoseTypeId": 10,
      "Volume": "sample string 11",
      "VolumeUnitId": 12,
      "InfusionTime": "sample string 13",
      "TimeUnit": 14,
      "TotalVolume": "sample string 15",
      "FlowRate": "sample string 16",
      "FlowRateUnit": 17,
      "VariableDoseDate": "sample string 18",
      "IsSubstituteNotAllow": true,
      "ICDCode": 20
    }
  ],
  "xmlFrequencyTime": [
    {
      "ItemId": 1,
      "FrequencyId": 2,
      "FrequencyTime": "sample string 3",
      "FrequencyDetailId": 4,
      "DoseEnable": true
    },
    {
      "ItemId": 1,
      "FrequencyId": 2,
      "FrequencyTime": "sample string 3",
      "FrequencyDetailId": 4,
      "DoseEnable": true
    }
  ],
  "Remarks": "sample string 7",
  "EncodedBy": 8,
  "IsConsumable": true,
  "StoreId": 10,
  "DrugOrderType": 11,
  "UnApprovedPrescriptionIds": "sample string 12",
  "RequestFromOtherWardId": 13,
  "IsFromWard": true
}

application/xml, text/xml

Sample:
<SaveItemInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FindDoctorService">
  <AdvisingDoctorId>6</AdvisingDoctorId>
  <DrugOrderType>11</DrugOrderType>
  <EncodedBy>8</EncodedBy>
  <EncounterId>4</EncounterId>
  <FacilityId>2</FacilityId>
  <HospitalLocationId>1</HospitalLocationId>
  <IndentType>5</IndentType>
  <IsConsumable>true</IsConsumable>
  <IsFromWard>true</IsFromWard>
  <RegistrationId>3</RegistrationId>
  <Remarks>sample string 7</Remarks>
  <RequestFromOtherWardId>13</RequestFromOtherWardId>
  <StoreId>10</StoreId>
  <UnApprovedPrescriptionIds>sample string 12</UnApprovedPrescriptionIds>
  <xmlFrequencyTime>
    <ItemFrequencyTime>
      <DoseEnable>true</DoseEnable>
      <FrequencyDetailId>4</FrequencyDetailId>
      <FrequencyId>2</FrequencyId>
      <FrequencyTime>sample string 3</FrequencyTime>
      <ItemId>1</ItemId>
    </ItemFrequencyTime>
    <ItemFrequencyTime>
      <DoseEnable>true</DoseEnable>
      <FrequencyDetailId>4</FrequencyDetailId>
      <FrequencyId>2</FrequencyId>
      <FrequencyTime>sample string 3</FrequencyTime>
      <ItemId>1</ItemId>
    </ItemFrequencyTime>
  </xmlFrequencyTime>
  <xmlItemDetail>
    <ItemDetails>
      <Dose>3</Dose>
      <DoseTypeId>10</DoseTypeId>
      <Duration>sample string 4</Duration>
      <FlowRate>sample string 16</FlowRate>
      <FlowRateUnit>17</FlowRateUnit>
      <FoodRelationshipId>9</FoodRelationshipId>
      <FrequencyId>2</FrequencyId>
      <ICDCode>20</ICDCode>
      <InfusionTime>sample string 13</InfusionTime>
      <Instructions>sample string 6</Instructions>
      <IsSubstituteNotAllow>true</IsSubstituteNotAllow>
      <ItemId>1</ItemId>
      <ReferanceItemId>8</ReferanceItemId>
      <TimeUnit>14</TimeUnit>
      <TotalVolume>sample string 15</TotalVolume>
      <Type>sample string 5</Type>
      <UnitId>7</UnitId>
      <VariableDoseDate>sample string 18</VariableDoseDate>
      <Volume>sample string 11</Volume>
      <VolumeUnitId>12</VolumeUnitId>
    </ItemDetails>
    <ItemDetails>
      <Dose>3</Dose>
      <DoseTypeId>10</DoseTypeId>
      <Duration>sample string 4</Duration>
      <FlowRate>sample string 16</FlowRate>
      <FlowRateUnit>17</FlowRateUnit>
      <FoodRelationshipId>9</FoodRelationshipId>
      <FrequencyId>2</FrequencyId>
      <ICDCode>20</ICDCode>
      <InfusionTime>sample string 13</InfusionTime>
      <Instructions>sample string 6</Instructions>
      <IsSubstituteNotAllow>true</IsSubstituteNotAllow>
      <ItemId>1</ItemId>
      <ReferanceItemId>8</ReferanceItemId>
      <TimeUnit>14</TimeUnit>
      <TotalVolume>sample string 15</TotalVolume>
      <Type>sample string 5</Type>
      <UnitId>7</UnitId>
      <VariableDoseDate>sample string 18</VariableDoseDate>
      <Volume>sample string 11</Volume>
      <VolumeUnitId>12</VolumeUnitId>
    </ItemDetails>
  </xmlItemDetail>
  <xmlItems>
    <Item>
      <CustomMedication>sample string 3</CustomMedication>
      <EndDate>sample string 10</EndDate>
      <FormulationId>5</FormulationId>
      <GenericId>4</GenericId>
      <IndentId>1</IndentId>
      <ItemId>2</ItemId>
      <NotToPharmacy>true</NotToPharmacy>
      <OriginalQty>17</OriginalQty>
      <OverrideCommentsDrugHealth>sample string 14</OverrideCommentsDrugHealth>
      <OverrideCommentsDrugToDrug>sample string 13</OverrideCommentsDrugToDrug>
      <PrescriptionDetail>sample string 15</PrescriptionDetail>
      <RouteId>6</RouteId>
      <StartDate>sample string 9</StartDate>
      <StrengthId>7</StrengthId>
      <StrengthValue>sample string 16</StrengthValue>
      <TotalQty>8</TotalQty>
      <UnitName>18</UnitName>
      <rrideComments>sample string 12</rrideComments>
    </Item>
    <Item>
      <CustomMedication>sample string 3</CustomMedication>
      <EndDate>sample string 10</EndDate>
      <FormulationId>5</FormulationId>
      <GenericId>4</GenericId>
      <IndentId>1</IndentId>
      <ItemId>2</ItemId>
      <NotToPharmacy>true</NotToPharmacy>
      <OriginalQty>17</OriginalQty>
      <OverrideCommentsDrugHealth>sample string 14</OverrideCommentsDrugHealth>
      <OverrideCommentsDrugToDrug>sample string 13</OverrideCommentsDrugToDrug>
      <PrescriptionDetail>sample string 15</PrescriptionDetail>
      <RouteId>6</RouteId>
      <StartDate>sample string 9</StartDate>
      <StrengthId>7</StrengthId>
      <StrengthValue>sample string 16</StrengthValue>
      <TotalQty>8</TotalQty>
      <UnitName>18</UnitName>
      <rrideComments>sample string 12</rrideComments>
    </Item>
  </xmlItems>
</SaveItemInput>

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.