POST api/PrescriptionTemp?api={api}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api

string

Required

Body Parameters

PrescriptionTempModelAdd
NameDescriptionTypeAdditional information
id

id

string

None.

idkey

id key (hệ thống tự sinh)

string

None.

idpartner

id đối tác

string

None.

idbrandpartner

id chi nhánh

string

None.

idsick

id bệnh

string

None.

codesick

mã bệnh

string

None.

namesick

tên bệnh

string

None.

name

Tên đơn thuốc

string

None.

numberday

Số ngày

decimal number

None.

lsticdmain

Chẩn đoán chính

Collection of MedicalBillICDAdd

None.

lsticdoriental

Chẩn đoán xác định YHCT

Collection of MedicalBillICDAdd

None.

qty

Tồng số lượng

decimal number

None.

iddoctor

id Bác sĩ kê

string

None.

codedoctor

Mã Bác sĩ kê

string

None.

namedoctor

Tên Bác sĩ kê

string

None.

titledoctor

Học hàm học vị bs kê

string

None.

note

Ghi chú đơn thuốc

string

None.

isoriental

Là đơn thuốc đông y (0- Thuốc thành phầm, 1- Đông y)

integer

None.

numberladder

Số thang

integer

None.

advice

Lời dặn

string

None.

lstdrug

Danh sách thuốc

Collection of PrescriptionDetailTempAdd

None.

yearmonthday

Thời gian yyyyMMdd

integer

None.

fulltime

Thời gian yyyyMMddHHmm

integer

None.

numberuse

Số lần sử dụng

integer

None.

congdung

Công dụng

string

None.

mucdich

Mục đích

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "idkey": "sample string 2",
  "idpartner": "sample string 3",
  "idbrandpartner": "sample string 4",
  "idsick": "sample string 5",
  "codesick": "sample string 6",
  "namesick": "sample string 7",
  "name": "sample string 8",
  "numberday": 1.1,
  "lsticdmain": [
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idcustomer": "sample string 4",
      "codecustomer": "sample string 5",
      "idreception": "sample string 6",
      "codereception": "sample string 7",
      "codemedicalbill": "sample string 8",
      "idmedicalbill": "sample string 9",
      "idicd": "sample string 10",
      "codeicd": "sample string 11",
      "nameicd": "sample string 12",
      "nameenicd": "sample string 13",
      "noteicd": "sample string 14",
      "type": 1
    },
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idcustomer": "sample string 4",
      "codecustomer": "sample string 5",
      "idreception": "sample string 6",
      "codereception": "sample string 7",
      "codemedicalbill": "sample string 8",
      "idmedicalbill": "sample string 9",
      "idicd": "sample string 10",
      "codeicd": "sample string 11",
      "nameicd": "sample string 12",
      "nameenicd": "sample string 13",
      "noteicd": "sample string 14",
      "type": 1
    }
  ],
  "lsticdoriental": [
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idcustomer": "sample string 4",
      "codecustomer": "sample string 5",
      "idreception": "sample string 6",
      "codereception": "sample string 7",
      "codemedicalbill": "sample string 8",
      "idmedicalbill": "sample string 9",
      "idicd": "sample string 10",
      "codeicd": "sample string 11",
      "nameicd": "sample string 12",
      "nameenicd": "sample string 13",
      "noteicd": "sample string 14",
      "type": 1
    },
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idcustomer": "sample string 4",
      "codecustomer": "sample string 5",
      "idreception": "sample string 6",
      "codereception": "sample string 7",
      "codemedicalbill": "sample string 8",
      "idmedicalbill": "sample string 9",
      "idicd": "sample string 10",
      "codeicd": "sample string 11",
      "nameicd": "sample string 12",
      "nameenicd": "sample string 13",
      "noteicd": "sample string 14",
      "type": 1
    }
  ],
  "qty": 1.1,
  "iddoctor": "sample string 9",
  "codedoctor": "sample string 10",
  "namedoctor": "sample string 11",
  "titledoctor": "sample string 12",
  "note": "sample string 13",
  "isoriental": 1,
  "numberladder": 1,
  "advice": "sample string 14",
  "lstdrug": [
    {
      "id": "sample string 1",
      "idvoterequest": "sample string 2",
      "idpartner": "sample string 3",
      "idbrandpartner": "sample string 4",
      "codenation": "sample string 5",
      "note": "sample string 6",
      "idproduct": "sample string 7",
      "codeproduct": "sample string 8",
      "codeinsure": "sample string 9",
      "nameinsure": "sample string 10",
      "content": "sample string 11",
      "nameproduct": "sample string 12",
      "namecommerce": "sample string 13",
      "idunit": "sample string 14",
      "nameunit": "sample string 15",
      "idunituse": "sample string 16",
      "nameunituse": "sample string 17",
      "iduse": "sample string 18",
      "codeuse": "sample string 19",
      "nameuse": "sample string 20",
      "orderinguse": 1.1,
      "idusereal": "sample string 21",
      "codeusereal": "sample string 22",
      "nameusereal": "sample string 23",
      "orderingusereal": 1.1,
      "idform": "sample string 24",
      "codeform": "sample string 25",
      "nameform": "sample string 26",
      "idmodelservice": 1,
      "namemodelservice": "sample string 27",
      "isantiviral": true,
      "ishiv": true,
      "isantibiotic": true,
      "isradiation": true,
      "isaddictive": true,
      "isdirection": true,
      "isprecursor": true,
      "iscancer": true,
      "isoxy": true,
      "isvaccine": true,
      "isflavor": true,
      "isproduct": true,
      "isfood": true,
      "iscosmetic": true,
      "isdiscount": true,
      "ischange": true,
      "isdestroy": true,
      "isinfusion": true,
      "isnew": true,
      "isnewmanufactor": true,
      "isprint": true,
      "isnational": true,
      "isstuff": true,
      "qty": 1.1,
      "qtymorning": 1.1,
      "numbermidday": 1.1,
      "numberafternoon": 1.1,
      "numbereverning": 1.1,
      "use": "sample string 28",
      "parent": "sample string 29",
      "notvote": true,
      "idcate": "sample string 30",
      "codecate": "sample string 31",
      "namecate": "sample string 32",
      "isbold": true,
      "isfollow": true,
      "isinvoice": true,
      "idactive": "sample string 33",
      "codeactive": "sample string 34",
      "nameactive": "sample string 35",
      "numberladder": 1,
      "lstuse": [
        {
          "id": "sample string 1",
          "idproduct": "sample string 2",
          "iduse": "sample string 3",
          "codeuse": "sample string 4",
          "nameuse": "sample string 5",
          "orderinguse": 1.1
        },
        {
          "id": "sample string 1",
          "idproduct": "sample string 2",
          "iduse": "sample string 3",
          "codeuse": "sample string 4",
          "nameuse": "sample string 5",
          "orderinguse": 1.1
        }
      ],
      "isshare": true
    },
    {
      "id": "sample string 1",
      "idvoterequest": "sample string 2",
      "idpartner": "sample string 3",
      "idbrandpartner": "sample string 4",
      "codenation": "sample string 5",
      "note": "sample string 6",
      "idproduct": "sample string 7",
      "codeproduct": "sample string 8",
      "codeinsure": "sample string 9",
      "nameinsure": "sample string 10",
      "content": "sample string 11",
      "nameproduct": "sample string 12",
      "namecommerce": "sample string 13",
      "idunit": "sample string 14",
      "nameunit": "sample string 15",
      "idunituse": "sample string 16",
      "nameunituse": "sample string 17",
      "iduse": "sample string 18",
      "codeuse": "sample string 19",
      "nameuse": "sample string 20",
      "orderinguse": 1.1,
      "idusereal": "sample string 21",
      "codeusereal": "sample string 22",
      "nameusereal": "sample string 23",
      "orderingusereal": 1.1,
      "idform": "sample string 24",
      "codeform": "sample string 25",
      "nameform": "sample string 26",
      "idmodelservice": 1,
      "namemodelservice": "sample string 27",
      "isantiviral": true,
      "ishiv": true,
      "isantibiotic": true,
      "isradiation": true,
      "isaddictive": true,
      "isdirection": true,
      "isprecursor": true,
      "iscancer": true,
      "isoxy": true,
      "isvaccine": true,
      "isflavor": true,
      "isproduct": true,
      "isfood": true,
      "iscosmetic": true,
      "isdiscount": true,
      "ischange": true,
      "isdestroy": true,
      "isinfusion": true,
      "isnew": true,
      "isnewmanufactor": true,
      "isprint": true,
      "isnational": true,
      "isstuff": true,
      "qty": 1.1,
      "qtymorning": 1.1,
      "numbermidday": 1.1,
      "numberafternoon": 1.1,
      "numbereverning": 1.1,
      "use": "sample string 28",
      "parent": "sample string 29",
      "notvote": true,
      "idcate": "sample string 30",
      "codecate": "sample string 31",
      "namecate": "sample string 32",
      "isbold": true,
      "isfollow": true,
      "isinvoice": true,
      "idactive": "sample string 33",
      "codeactive": "sample string 34",
      "nameactive": "sample string 35",
      "numberladder": 1,
      "lstuse": [
        {
          "id": "sample string 1",
          "idproduct": "sample string 2",
          "iduse": "sample string 3",
          "codeuse": "sample string 4",
          "nameuse": "sample string 5",
          "orderinguse": 1.1
        },
        {
          "id": "sample string 1",
          "idproduct": "sample string 2",
          "iduse": "sample string 3",
          "codeuse": "sample string 4",
          "nameuse": "sample string 5",
          "orderinguse": 1.1
        }
      ],
      "isshare": true
    }
  ],
  "yearmonthday": 15,
  "fulltime": 16,
  "numberuse": 17,
  "congdung": "sample string 18",
  "mucdich": "sample string 19"
}

application/xml, text/xml

Sample:
<PrescriptionTempModelAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Medical">
  <advice>sample string 14</advice>
  <codedoctor>sample string 10</codedoctor>
  <codesick>sample string 6</codesick>
  <congdung>sample string 18</congdung>
  <fulltime>16</fulltime>
  <id>sample string 1</id>
  <idbrandpartner>sample string 4</idbrandpartner>
  <iddoctor>sample string 9</iddoctor>
  <idkey>sample string 2</idkey>
  <idpartner>sample string 3</idpartner>
  <idsick>sample string 5</idsick>
  <isoriental>1</isoriental>
  <lstdrug>
    <PrescriptionDetailTempAdd>
      <codeactive>sample string 34</codeactive>
      <codecate>sample string 31</codecate>
      <codeform>sample string 25</codeform>
      <codeinsure>sample string 9</codeinsure>
      <codenation>sample string 5</codenation>
      <codeproduct>sample string 8</codeproduct>
      <codeuse>sample string 19</codeuse>
      <codeusereal>sample string 22</codeusereal>
      <content>sample string 11</content>
      <id>sample string 1</id>
      <idactive>sample string 33</idactive>
      <idbrandpartner>sample string 4</idbrandpartner>
      <idcate>sample string 30</idcate>
      <idform>sample string 24</idform>
      <idmodelservice>1</idmodelservice>
      <idpartner>sample string 3</idpartner>
      <idproduct>sample string 7</idproduct>
      <idunit>sample string 14</idunit>
      <idunituse>sample string 16</idunituse>
      <iduse>sample string 18</iduse>
      <idusereal>sample string 21</idusereal>
      <idvoterequest>sample string 2</idvoterequest>
      <isaddictive>true</isaddictive>
      <isantibiotic>true</isantibiotic>
      <isantiviral>true</isantiviral>
      <isbold>true</isbold>
      <iscancer>true</iscancer>
      <ischange>true</ischange>
      <iscosmetic>true</iscosmetic>
      <isdestroy>true</isdestroy>
      <isdirection>true</isdirection>
      <isdiscount>true</isdiscount>
      <isflavor>true</isflavor>
      <isfollow>true</isfollow>
      <isfood>true</isfood>
      <ishiv>true</ishiv>
      <isinfusion>true</isinfusion>
      <isinvoice>true</isinvoice>
      <isnational>true</isnational>
      <isnew>true</isnew>
      <isnewmanufactor>true</isnewmanufactor>
      <isoxy>true</isoxy>
      <isprecursor>true</isprecursor>
      <isprint>true</isprint>
      <isproduct>true</isproduct>
      <isradiation>true</isradiation>
      <isshare>true</isshare>
      <isstuff>true</isstuff>
      <isvaccine>true</isvaccine>
      <lstuse xmlns:d4p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Category">
        <d4p1:UseDrugModelAdd>
          <d4p1:codeuse>sample string 4</d4p1:codeuse>
          <d4p1:id>sample string 1</d4p1:id>
          <d4p1:idproduct>sample string 2</d4p1:idproduct>
          <d4p1:iduse>sample string 3</d4p1:iduse>
          <d4p1:nameuse>sample string 5</d4p1:nameuse>
          <d4p1:orderinguse>1.1</d4p1:orderinguse>
        </d4p1:UseDrugModelAdd>
        <d4p1:UseDrugModelAdd>
          <d4p1:codeuse>sample string 4</d4p1:codeuse>
          <d4p1:id>sample string 1</d4p1:id>
          <d4p1:idproduct>sample string 2</d4p1:idproduct>
          <d4p1:iduse>sample string 3</d4p1:iduse>
          <d4p1:nameuse>sample string 5</d4p1:nameuse>
          <d4p1:orderinguse>1.1</d4p1:orderinguse>
        </d4p1:UseDrugModelAdd>
      </lstuse>
      <nameactive>sample string 35</nameactive>
      <namecate>sample string 32</namecate>
      <namecommerce>sample string 13</namecommerce>
      <nameform>sample string 26</nameform>
      <nameinsure>sample string 10</nameinsure>
      <namemodelservice>sample string 27</namemodelservice>
      <nameproduct>sample string 12</nameproduct>
      <nameunit>sample string 15</nameunit>
      <nameunituse>sample string 17</nameunituse>
      <nameuse>sample string 20</nameuse>
      <nameusereal>sample string 23</nameusereal>
      <note>sample string 6</note>
      <notvote>true</notvote>
      <numberafternoon>1.1</numberafternoon>
      <numbereverning>1.1</numbereverning>
      <numberladder>1</numberladder>
      <numbermidday>1.1</numbermidday>
      <orderinguse>1.1</orderinguse>
      <orderingusereal>1.1</orderingusereal>
      <parent>sample string 29</parent>
      <qty>1.1</qty>
      <qtymorning>1.1</qtymorning>
      <use>sample string 28</use>
    </PrescriptionDetailTempAdd>
    <PrescriptionDetailTempAdd>
      <codeactive>sample string 34</codeactive>
      <codecate>sample string 31</codecate>
      <codeform>sample string 25</codeform>
      <codeinsure>sample string 9</codeinsure>
      <codenation>sample string 5</codenation>
      <codeproduct>sample string 8</codeproduct>
      <codeuse>sample string 19</codeuse>
      <codeusereal>sample string 22</codeusereal>
      <content>sample string 11</content>
      <id>sample string 1</id>
      <idactive>sample string 33</idactive>
      <idbrandpartner>sample string 4</idbrandpartner>
      <idcate>sample string 30</idcate>
      <idform>sample string 24</idform>
      <idmodelservice>1</idmodelservice>
      <idpartner>sample string 3</idpartner>
      <idproduct>sample string 7</idproduct>
      <idunit>sample string 14</idunit>
      <idunituse>sample string 16</idunituse>
      <iduse>sample string 18</iduse>
      <idusereal>sample string 21</idusereal>
      <idvoterequest>sample string 2</idvoterequest>
      <isaddictive>true</isaddictive>
      <isantibiotic>true</isantibiotic>
      <isantiviral>true</isantiviral>
      <isbold>true</isbold>
      <iscancer>true</iscancer>
      <ischange>true</ischange>
      <iscosmetic>true</iscosmetic>
      <isdestroy>true</isdestroy>
      <isdirection>true</isdirection>
      <isdiscount>true</isdiscount>
      <isflavor>true</isflavor>
      <isfollow>true</isfollow>
      <isfood>true</isfood>
      <ishiv>true</ishiv>
      <isinfusion>true</isinfusion>
      <isinvoice>true</isinvoice>
      <isnational>true</isnational>
      <isnew>true</isnew>
      <isnewmanufactor>true</isnewmanufactor>
      <isoxy>true</isoxy>
      <isprecursor>true</isprecursor>
      <isprint>true</isprint>
      <isproduct>true</isproduct>
      <isradiation>true</isradiation>
      <isshare>true</isshare>
      <isstuff>true</isstuff>
      <isvaccine>true</isvaccine>
      <lstuse xmlns:d4p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Category">
        <d4p1:UseDrugModelAdd>
          <d4p1:codeuse>sample string 4</d4p1:codeuse>
          <d4p1:id>sample string 1</d4p1:id>
          <d4p1:idproduct>sample string 2</d4p1:idproduct>
          <d4p1:iduse>sample string 3</d4p1:iduse>
          <d4p1:nameuse>sample string 5</d4p1:nameuse>
          <d4p1:orderinguse>1.1</d4p1:orderinguse>
        </d4p1:UseDrugModelAdd>
        <d4p1:UseDrugModelAdd>
          <d4p1:codeuse>sample string 4</d4p1:codeuse>
          <d4p1:id>sample string 1</d4p1:id>
          <d4p1:idproduct>sample string 2</d4p1:idproduct>
          <d4p1:iduse>sample string 3</d4p1:iduse>
          <d4p1:nameuse>sample string 5</d4p1:nameuse>
          <d4p1:orderinguse>1.1</d4p1:orderinguse>
        </d4p1:UseDrugModelAdd>
      </lstuse>
      <nameactive>sample string 35</nameactive>
      <namecate>sample string 32</namecate>
      <namecommerce>sample string 13</namecommerce>
      <nameform>sample string 26</nameform>
      <nameinsure>sample string 10</nameinsure>
      <namemodelservice>sample string 27</namemodelservice>
      <nameproduct>sample string 12</nameproduct>
      <nameunit>sample string 15</nameunit>
      <nameunituse>sample string 17</nameunituse>
      <nameuse>sample string 20</nameuse>
      <nameusereal>sample string 23</nameusereal>
      <note>sample string 6</note>
      <notvote>true</notvote>
      <numberafternoon>1.1</numberafternoon>
      <numbereverning>1.1</numbereverning>
      <numberladder>1</numberladder>
      <numbermidday>1.1</numbermidday>
      <orderinguse>1.1</orderinguse>
      <orderingusereal>1.1</orderingusereal>
      <parent>sample string 29</parent>
      <qty>1.1</qty>
      <qtymorning>1.1</qtymorning>
      <use>sample string 28</use>
    </PrescriptionDetailTempAdd>
  </lstdrug>
  <lsticdmain>
    <MedicalBillICDAdd>
      <codecustomer>sample string 5</codecustomer>
      <codeicd>sample string 11</codeicd>
      <codemedicalbill>sample string 8</codemedicalbill>
      <codereception>sample string 7</codereception>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idcustomer>sample string 4</idcustomer>
      <idicd>sample string 10</idicd>
      <idmedicalbill>sample string 9</idmedicalbill>
      <idpartner>sample string 2</idpartner>
      <idreception>sample string 6</idreception>
      <nameenicd>sample string 13</nameenicd>
      <nameicd>sample string 12</nameicd>
      <noteicd>sample string 14</noteicd>
      <type>1</type>
    </MedicalBillICDAdd>
    <MedicalBillICDAdd>
      <codecustomer>sample string 5</codecustomer>
      <codeicd>sample string 11</codeicd>
      <codemedicalbill>sample string 8</codemedicalbill>
      <codereception>sample string 7</codereception>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idcustomer>sample string 4</idcustomer>
      <idicd>sample string 10</idicd>
      <idmedicalbill>sample string 9</idmedicalbill>
      <idpartner>sample string 2</idpartner>
      <idreception>sample string 6</idreception>
      <nameenicd>sample string 13</nameenicd>
      <nameicd>sample string 12</nameicd>
      <noteicd>sample string 14</noteicd>
      <type>1</type>
    </MedicalBillICDAdd>
  </lsticdmain>
  <lsticdoriental>
    <MedicalBillICDAdd>
      <codecustomer>sample string 5</codecustomer>
      <codeicd>sample string 11</codeicd>
      <codemedicalbill>sample string 8</codemedicalbill>
      <codereception>sample string 7</codereception>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idcustomer>sample string 4</idcustomer>
      <idicd>sample string 10</idicd>
      <idmedicalbill>sample string 9</idmedicalbill>
      <idpartner>sample string 2</idpartner>
      <idreception>sample string 6</idreception>
      <nameenicd>sample string 13</nameenicd>
      <nameicd>sample string 12</nameicd>
      <noteicd>sample string 14</noteicd>
      <type>1</type>
    </MedicalBillICDAdd>
    <MedicalBillICDAdd>
      <codecustomer>sample string 5</codecustomer>
      <codeicd>sample string 11</codeicd>
      <codemedicalbill>sample string 8</codemedicalbill>
      <codereception>sample string 7</codereception>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idcustomer>sample string 4</idcustomer>
      <idicd>sample string 10</idicd>
      <idmedicalbill>sample string 9</idmedicalbill>
      <idpartner>sample string 2</idpartner>
      <idreception>sample string 6</idreception>
      <nameenicd>sample string 13</nameenicd>
      <nameicd>sample string 12</nameicd>
      <noteicd>sample string 14</noteicd>
      <type>1</type>
    </MedicalBillICDAdd>
  </lsticdoriental>
  <mucdich>sample string 19</mucdich>
  <name>sample string 8</name>
  <namedoctor>sample string 11</namedoctor>
  <namesick>sample string 7</namesick>
  <note>sample string 13</note>
  <numberday>1.1</numberday>
  <numberladder>1</numberladder>
  <numberuse>17</numberuse>
  <qty>1.1</qty>
  <titledoctor>sample string 12</titledoctor>
  <yearmonthday>15</yearmonthday>
</PrescriptionTempModelAdd>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataInsert
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

id

string

None.

code

string

None.

code1

string

None.

strprint

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "id": "sample string 3",
  "code": "sample string 4",
  "code1": "sample string 5",
  "strprint": "sample string 6"
}

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"status":"sample string 1","message":"sample string 2","id":"sample string 3","code":"sample string 4","code1":"sample string 5","strprint":"sample string 6"});

application/xml, text/xml

Sample:
<DataInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">
  <code>sample string 4</code>
  <code1>sample string 5</code1>
  <id>sample string 3</id>
  <message>sample string 2</message>
  <status>sample string 1</status>
  <strprint>sample string 6</strprint>
</DataInsert>