POST api/Prescription

Request Information

URI Parameters

None.

Body Parameters

Collection of PrescriptionServiceModel
NameDescriptionTypeAdditional information
Npi

string

Required

PatientName

string

Required

PatientSurname

string

Required

PatientGender

string

Required

PatientBirthDate

string

None.

PatientLocalId

string

None.

DrugAtcCode

string

None.

DrugCode

string

None.

DrugName

string

None.

DrugDosage

string

None.

DrugSubscribedQuantity

decimal number

None.

InstitutionName

string

None.

CaseNumber

integer

None.

DoctorVerificationUsername

string

None.

DoctorVerificationCode

string

None.

DoctorIssuingUsername

string

None.

DoctorIssuingCode

string

None.

PrescriptionStartDate

string

None.

ExternalDoctorId

string

None.

ExternalDoctorCaseNumber

string

None.

PrescriptionEmergency

string

None.

LocalDrugId

string

None.

PresctiptionHasChanged

boolean

None.

MedsolPrescriptionId

string

None.

LocalUsername

string

None.

DosageType

string

None.

DosageUnitMeasure

string

None.

DrugSubscribedQuantityUnitMeasurment

string

None.

PrescriptionCreateUsername

string

None.

PrescriptionNecesseEst

boolean

None.

ContinuedHospitalization

boolean

None.

DoctorSpecialistRecommended

boolean

None.

PrescriptionDataSrod

string

None.

PrescriptionDataVid

string

None.

PrescriptionDataKoris

string

None.

PrescriptionDataDrz

string

None.

PrescriptionDataProv

string

None.

PrescriptionDataPar

string

None.

DrugIsCommercial

boolean

None.

PrescriptionIndication

string

None.

PrescriptionInstruction

string

None.

PrescriptionReason

string

None.

PrescriptionInformativeText

string

None.

PrescriptionVerificationSubHospital

string

None.

PrescriptionVerificationDepartment

string

None.

PrescriptionCreateSubHospital

string

None.

PrescriptionCreateDepartment

string

None.

ExternalDoctorName

string

None.

ExternalDoctorStampNumber

string

None.

ExternalDoctorInstitution

string

None.

ExternalCaseDate

string

None.

EntryParameter

string

None.

PrescriptionTypeId

integer

None.

PrescriptionTherapyId

integer

None.

PrescriptionArrivalDate

string

None.

DrugDiscountDataID

integer

None.

PrescriptionAdditionalParameters

Collection of PrescriptionAdditionalParameters

None.

SD

boolean

None.

PREG

boolean

None.

STM

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "npi": "sample string 1",
    "patientName": "sample string 2",
    "patientSurname": "sample string 3",
    "patientGender": "sample string 4",
    "patientBirthDate": "sample string 5",
    "patientLocalId": "sample string 6",
    "drugAtcCode": "sample string 7",
    "drugCode": "sample string 8",
    "drugName": "sample string 9",
    "drugDosage": "sample string 10",
    "drugSubscribedQuantity": 11.0,
    "institutionName": "sample string 12",
    "caseNumber": 1,
    "doctorVerificationUsername": "sample string 13",
    "doctorVerificationCode": "sample string 14",
    "doctorIssuingUsername": "sample string 15",
    "doctorIssuingCode": "sample string 16",
    "prescriptionStartDate": "sample string 17",
    "externalDoctorId": "sample string 18",
    "externalDoctorCaseNumber": "sample string 19",
    "prescriptionEmergency": "sample string 20",
    "localDrugId": "sample string 21",
    "presctiptionHasChanged": true,
    "medsolPrescriptionId": "sample string 22",
    "localUsername": "sample string 23",
    "dosageType": "sample string 24",
    "dosageUnitMeasure": "sample string 25",
    "drugSubscribedQuantityUnitMeasurment": "sample string 26",
    "prescriptionCreateUsername": "sample string 27",
    "prescriptionNecesseEst": true,
    "continuedHospitalization": true,
    "doctorSpecialistRecommended": true,
    "prescriptionDataSrod": "sample string 31",
    "prescriptionDataVid": "sample string 32",
    "prescriptionDataKoris": "sample string 33",
    "prescriptionDataDrz": "sample string 34",
    "prescriptionDataProv": "sample string 35",
    "prescriptionDataPar": "sample string 36",
    "drugIsCommercial": true,
    "prescriptionIndication": "sample string 38",
    "prescriptionInstruction": "sample string 39",
    "prescriptionReason": "sample string 40",
    "prescriptionInformativeText": "sample string 41",
    "prescriptionVerificationSubHospital": "sample string 42",
    "prescriptionVerificationDepartment": "sample string 43",
    "prescriptionCreateSubHospital": "sample string 44",
    "prescriptionCreateDepartment": "sample string 45",
    "externalDoctorName": "sample string 46",
    "externalDoctorStampNumber": "sample string 47",
    "externalDoctorInstitution": "sample string 48",
    "externalCaseDate": "sample string 49",
    "entryParameter": "sample string 50",
    "prescriptionTypeId": 1,
    "prescriptionTherapyId": 1,
    "prescriptionArrivalDate": "sample string 51",
    "drugDiscountDataID": 1,
    "prescriptionAdditionalParameters": [
      {
        "parameterID": 1,
        "parameterCode": "sample string 2",
        "parameterValue": "sample string 3"
      },
      {
        "parameterID": 1,
        "parameterCode": "sample string 2",
        "parameterValue": "sample string 3"
      }
    ],
    "sd": true,
    "preg": true,
    "stm": true
  },
  {
    "npi": "sample string 1",
    "patientName": "sample string 2",
    "patientSurname": "sample string 3",
    "patientGender": "sample string 4",
    "patientBirthDate": "sample string 5",
    "patientLocalId": "sample string 6",
    "drugAtcCode": "sample string 7",
    "drugCode": "sample string 8",
    "drugName": "sample string 9",
    "drugDosage": "sample string 10",
    "drugSubscribedQuantity": 11.0,
    "institutionName": "sample string 12",
    "caseNumber": 1,
    "doctorVerificationUsername": "sample string 13",
    "doctorVerificationCode": "sample string 14",
    "doctorIssuingUsername": "sample string 15",
    "doctorIssuingCode": "sample string 16",
    "prescriptionStartDate": "sample string 17",
    "externalDoctorId": "sample string 18",
    "externalDoctorCaseNumber": "sample string 19",
    "prescriptionEmergency": "sample string 20",
    "localDrugId": "sample string 21",
    "presctiptionHasChanged": true,
    "medsolPrescriptionId": "sample string 22",
    "localUsername": "sample string 23",
    "dosageType": "sample string 24",
    "dosageUnitMeasure": "sample string 25",
    "drugSubscribedQuantityUnitMeasurment": "sample string 26",
    "prescriptionCreateUsername": "sample string 27",
    "prescriptionNecesseEst": true,
    "continuedHospitalization": true,
    "doctorSpecialistRecommended": true,
    "prescriptionDataSrod": "sample string 31",
    "prescriptionDataVid": "sample string 32",
    "prescriptionDataKoris": "sample string 33",
    "prescriptionDataDrz": "sample string 34",
    "prescriptionDataProv": "sample string 35",
    "prescriptionDataPar": "sample string 36",
    "drugIsCommercial": true,
    "prescriptionIndication": "sample string 38",
    "prescriptionInstruction": "sample string 39",
    "prescriptionReason": "sample string 40",
    "prescriptionInformativeText": "sample string 41",
    "prescriptionVerificationSubHospital": "sample string 42",
    "prescriptionVerificationDepartment": "sample string 43",
    "prescriptionCreateSubHospital": "sample string 44",
    "prescriptionCreateDepartment": "sample string 45",
    "externalDoctorName": "sample string 46",
    "externalDoctorStampNumber": "sample string 47",
    "externalDoctorInstitution": "sample string 48",
    "externalCaseDate": "sample string 49",
    "entryParameter": "sample string 50",
    "prescriptionTypeId": 1,
    "prescriptionTherapyId": 1,
    "prescriptionArrivalDate": "sample string 51",
    "drugDiscountDataID": 1,
    "prescriptionAdditionalParameters": [
      {
        "parameterID": 1,
        "parameterCode": "sample string 2",
        "parameterValue": "sample string 3"
      },
      {
        "parameterID": 1,
        "parameterCode": "sample string 2",
        "parameterValue": "sample string 3"
      }
    ],
    "sd": true,
    "preg": true,
    "stm": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfPrescriptionServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMedit.eOsa.BDO.Services.PrescriptionService">
  <PrescriptionServiceModel>
    <CaseNumber>1</CaseNumber>
    <ContinuedHospitalization>true</ContinuedHospitalization>
    <DoctorIssuingCode>sample string 16</DoctorIssuingCode>
    <DoctorIssuingUsername>sample string 15</DoctorIssuingUsername>
    <DoctorSpecialistRecommended>true</DoctorSpecialistRecommended>
    <DoctorVerificationCode>sample string 14</DoctorVerificationCode>
    <DoctorVerificationUsername>sample string 13</DoctorVerificationUsername>
    <DosageType>sample string 24</DosageType>
    <DosageUnitMeasure>sample string 25</DosageUnitMeasure>
    <DrugAtcCode>sample string 7</DrugAtcCode>
    <DrugCode>sample string 8</DrugCode>
    <DrugDiscountDataID>1</DrugDiscountDataID>
    <DrugDosage>sample string 10</DrugDosage>
    <DrugIsCommercial>true</DrugIsCommercial>
    <DrugName>sample string 9</DrugName>
    <DrugSubscribedQuantity>11</DrugSubscribedQuantity>
    <DrugSubscribedQuantityUnitMeasurment>sample string 26</DrugSubscribedQuantityUnitMeasurment>
    <EntryParameter>sample string 50</EntryParameter>
    <ExternalCaseDate>sample string 49</ExternalCaseDate>
    <ExternalDoctorCaseNumber>sample string 19</ExternalDoctorCaseNumber>
    <ExternalDoctorId>sample string 18</ExternalDoctorId>
    <ExternalDoctorInstitution>sample string 48</ExternalDoctorInstitution>
    <ExternalDoctorName>sample string 46</ExternalDoctorName>
    <ExternalDoctorStampNumber>sample string 47</ExternalDoctorStampNumber>
    <InstitutionName>sample string 12</InstitutionName>
    <LocalDrugId>sample string 21</LocalDrugId>
    <LocalUsername>sample string 23</LocalUsername>
    <MedsolPrescriptionId>sample string 22</MedsolPrescriptionId>
    <Npi>sample string 1</Npi>
    <PREG>true</PREG>
    <PatientBirthDate>sample string 5</PatientBirthDate>
    <PatientGender>sample string 4</PatientGender>
    <PatientLocalId>sample string 6</PatientLocalId>
    <PatientName>sample string 2</PatientName>
    <PatientSurname>sample string 3</PatientSurname>
    <PrescriptionAdditionalParameters>
      <PrescriptionAdditionalParameters>
        <ParameterCode>sample string 2</ParameterCode>
        <ParameterID>1</ParameterID>
        <ParameterValue>sample string 3</ParameterValue>
      </PrescriptionAdditionalParameters>
      <PrescriptionAdditionalParameters>
        <ParameterCode>sample string 2</ParameterCode>
        <ParameterID>1</ParameterID>
        <ParameterValue>sample string 3</ParameterValue>
      </PrescriptionAdditionalParameters>
    </PrescriptionAdditionalParameters>
    <PrescriptionArrivalDate>sample string 51</PrescriptionArrivalDate>
    <PrescriptionCreateDepartment>sample string 45</PrescriptionCreateDepartment>
    <PrescriptionCreateSubHospital>sample string 44</PrescriptionCreateSubHospital>
    <PrescriptionCreateUsername>sample string 27</PrescriptionCreateUsername>
    <PrescriptionDataDrz>sample string 34</PrescriptionDataDrz>
    <PrescriptionDataKoris>sample string 33</PrescriptionDataKoris>
    <PrescriptionDataPar>sample string 36</PrescriptionDataPar>
    <PrescriptionDataProv>sample string 35</PrescriptionDataProv>
    <PrescriptionDataSrod>sample string 31</PrescriptionDataSrod>
    <PrescriptionDataVid>sample string 32</PrescriptionDataVid>
    <PrescriptionEmergency>sample string 20</PrescriptionEmergency>
    <PrescriptionIndication>sample string 38</PrescriptionIndication>
    <PrescriptionInformativeText>sample string 41</PrescriptionInformativeText>
    <PrescriptionInstruction>sample string 39</PrescriptionInstruction>
    <PrescriptionNecesseEst>true</PrescriptionNecesseEst>
    <PrescriptionReason>sample string 40</PrescriptionReason>
    <PrescriptionStartDate>sample string 17</PrescriptionStartDate>
    <PrescriptionTherapyId>1</PrescriptionTherapyId>
    <PrescriptionTypeId>1</PrescriptionTypeId>
    <PrescriptionVerificationDepartment>sample string 43</PrescriptionVerificationDepartment>
    <PrescriptionVerificationSubHospital>sample string 42</PrescriptionVerificationSubHospital>
    <PresctiptionHasChanged>true</PresctiptionHasChanged>
    <SD>true</SD>
    <STM>true</STM>
  </PrescriptionServiceModel>
  <PrescriptionServiceModel>
    <CaseNumber>1</CaseNumber>
    <ContinuedHospitalization>true</ContinuedHospitalization>
    <DoctorIssuingCode>sample string 16</DoctorIssuingCode>
    <DoctorIssuingUsername>sample string 15</DoctorIssuingUsername>
    <DoctorSpecialistRecommended>true</DoctorSpecialistRecommended>
    <DoctorVerificationCode>sample string 14</DoctorVerificationCode>
    <DoctorVerificationUsername>sample string 13</DoctorVerificationUsername>
    <DosageType>sample string 24</DosageType>
    <DosageUnitMeasure>sample string 25</DosageUnitMeasure>
    <DrugAtcCode>sample string 7</DrugAtcCode>
    <DrugCode>sample string 8</DrugCode>
    <DrugDiscountDataID>1</DrugDiscountDataID>
    <DrugDosage>sample string 10</DrugDosage>
    <DrugIsCommercial>true</DrugIsCommercial>
    <DrugName>sample string 9</DrugName>
    <DrugSubscribedQuantity>11</DrugSubscribedQuantity>
    <DrugSubscribedQuantityUnitMeasurment>sample string 26</DrugSubscribedQuantityUnitMeasurment>
    <EntryParameter>sample string 50</EntryParameter>
    <ExternalCaseDate>sample string 49</ExternalCaseDate>
    <ExternalDoctorCaseNumber>sample string 19</ExternalDoctorCaseNumber>
    <ExternalDoctorId>sample string 18</ExternalDoctorId>
    <ExternalDoctorInstitution>sample string 48</ExternalDoctorInstitution>
    <ExternalDoctorName>sample string 46</ExternalDoctorName>
    <ExternalDoctorStampNumber>sample string 47</ExternalDoctorStampNumber>
    <InstitutionName>sample string 12</InstitutionName>
    <LocalDrugId>sample string 21</LocalDrugId>
    <LocalUsername>sample string 23</LocalUsername>
    <MedsolPrescriptionId>sample string 22</MedsolPrescriptionId>
    <Npi>sample string 1</Npi>
    <PREG>true</PREG>
    <PatientBirthDate>sample string 5</PatientBirthDate>
    <PatientGender>sample string 4</PatientGender>
    <PatientLocalId>sample string 6</PatientLocalId>
    <PatientName>sample string 2</PatientName>
    <PatientSurname>sample string 3</PatientSurname>
    <PrescriptionAdditionalParameters>
      <PrescriptionAdditionalParameters>
        <ParameterCode>sample string 2</ParameterCode>
        <ParameterID>1</ParameterID>
        <ParameterValue>sample string 3</ParameterValue>
      </PrescriptionAdditionalParameters>
      <PrescriptionAdditionalParameters>
        <ParameterCode>sample string 2</ParameterCode>
        <ParameterID>1</ParameterID>
        <ParameterValue>sample string 3</ParameterValue>
      </PrescriptionAdditionalParameters>
    </PrescriptionAdditionalParameters>
    <PrescriptionArrivalDate>sample string 51</PrescriptionArrivalDate>
    <PrescriptionCreateDepartment>sample string 45</PrescriptionCreateDepartment>
    <PrescriptionCreateSubHospital>sample string 44</PrescriptionCreateSubHospital>
    <PrescriptionCreateUsername>sample string 27</PrescriptionCreateUsername>
    <PrescriptionDataDrz>sample string 34</PrescriptionDataDrz>
    <PrescriptionDataKoris>sample string 33</PrescriptionDataKoris>
    <PrescriptionDataPar>sample string 36</PrescriptionDataPar>
    <PrescriptionDataProv>sample string 35</PrescriptionDataProv>
    <PrescriptionDataSrod>sample string 31</PrescriptionDataSrod>
    <PrescriptionDataVid>sample string 32</PrescriptionDataVid>
    <PrescriptionEmergency>sample string 20</PrescriptionEmergency>
    <PrescriptionIndication>sample string 38</PrescriptionIndication>
    <PrescriptionInformativeText>sample string 41</PrescriptionInformativeText>
    <PrescriptionInstruction>sample string 39</PrescriptionInstruction>
    <PrescriptionNecesseEst>true</PrescriptionNecesseEst>
    <PrescriptionReason>sample string 40</PrescriptionReason>
    <PrescriptionStartDate>sample string 17</PrescriptionStartDate>
    <PrescriptionTherapyId>1</PrescriptionTherapyId>
    <PrescriptionTypeId>1</PrescriptionTypeId>
    <PrescriptionVerificationDepartment>sample string 43</PrescriptionVerificationDepartment>
    <PrescriptionVerificationSubHospital>sample string 42</PrescriptionVerificationSubHospital>
    <PresctiptionHasChanged>true</PresctiptionHasChanged>
    <SD>true</SD>
    <STM>true</STM>
  </PrescriptionServiceModel>
</ArrayOfPrescriptionServiceModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PrescriptionServiceResponse
NameDescriptionTypeAdditional information
PrescriptionConfirmations

Collection of PrescriptionServiceConfirmation

None.

PrescribingControl

PrescriptionControlModel

None.

Response Formats

application/json, text/json

Sample:
{
  "prescriptionConfirmations": [
    {
      "prescriptionId": "sample string 1",
      "caseNumber": 1,
      "medsolPrescriptionId": "sample string 2",
      "note": "sample string 3",
      "errorMessage": "sample string 4",
      "statusId": "sample string 5",
      "isSuccess": true
    },
    {
      "prescriptionId": "sample string 1",
      "caseNumber": 1,
      "medsolPrescriptionId": "sample string 2",
      "note": "sample string 3",
      "errorMessage": "sample string 4",
      "statusId": "sample string 5",
      "isSuccess": true
    }
  ],
  "prescribingControl": {
    "dailyControlActive": true,
    "monthlyControlActive": true,
    "monthlyValueControlActive": true,
    "dailyLimit": 4,
    "monthlyLimit": 5,
    "monthlyValueLimit": 6.0,
    "dailyCount": 7,
    "monthlyCount": 8,
    "monthlyValue": 9.0,
    "username": "sample string 10",
    "stampNumber": "sample string 11"
  }
}

application/xml, text/xml

Sample:
<PrescriptionServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMedit.eOsa.BDO.Services.PrescriptionService">
  <PrescribingControl>
    <DailyControlActive>true</DailyControlActive>
    <DailyCount>7</DailyCount>
    <DailyLimit>4</DailyLimit>
    <MonthlyControlActive>true</MonthlyControlActive>
    <MonthlyCount>8</MonthlyCount>
    <MonthlyLimit>5</MonthlyLimit>
    <MonthlyValue>9</MonthlyValue>
    <MonthlyValueControlActive>true</MonthlyValueControlActive>
    <MonthlyValueLimit>6</MonthlyValueLimit>
    <StampNumber>sample string 11</StampNumber>
    <Username>sample string 10</Username>
  </PrescribingControl>
  <PrescriptionConfirmations>
    <PrescriptionServiceConfirmation>
      <CaseNumber>1</CaseNumber>
      <ErrorMessage>sample string 4</ErrorMessage>
      <IsSuccess>true</IsSuccess>
      <MedsolPrescriptionId>sample string 2</MedsolPrescriptionId>
      <Note>sample string 3</Note>
      <PrescriptionId>sample string 1</PrescriptionId>
      <StatusId>sample string 5</StatusId>
    </PrescriptionServiceConfirmation>
    <PrescriptionServiceConfirmation>
      <CaseNumber>1</CaseNumber>
      <ErrorMessage>sample string 4</ErrorMessage>
      <IsSuccess>true</IsSuccess>
      <MedsolPrescriptionId>sample string 2</MedsolPrescriptionId>
      <Note>sample string 3</Note>
      <PrescriptionId>sample string 1</PrescriptionId>
      <StatusId>sample string 5</StatusId>
    </PrescriptionServiceConfirmation>
  </PrescriptionConfirmations>
</PrescriptionServiceResponse>