PUT api/Prescription
Request Information
URI Parameters
None.
Body Parameters
Collection of PrescriptionServiceUpdateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PrescriptionId | string |
Required |
|
| MedsolPrescriptionId | string |
Required |
|
| DrugAtcCode | string |
Required |
|
| DrugCode | string |
Required |
|
| DrugName | string |
Required |
|
| DrugDosage | string |
Required |
|
| DosageUnitMeasure | string |
Required |
|
| DosageType | string |
Required |
|
| DrugSubscribedQuantityUnitMeasurment | string |
Required |
|
| DrugSubscribedQuantity | decimal number |
Required |
|
| DoctorVerificationUsername | string |
Required |
|
| DoctorVerificationCode | string |
Required |
|
| DoctorIssuingUsername | string |
Required |
|
| DoctorIssuingCode | string |
Required |
|
| PrescriptionStatus | integer |
None. |
|
| PrescriptionEmergency | string |
Required |
|
| LocalDrugId | string |
Required |
|
| LocalUsername | string |
Required |
|
| PrescriptionNecesseEst | boolean |
Required |
|
| DrugIsCommercial | boolean |
Required |
|
| DoctorSpecialistRecommended | boolean |
Required |
|
| ExternalDoctorName | string |
Required |
|
| PrescriptionInstruction | string |
Required |
|
| PrescriptionReason | string |
Required |
|
| PrescriptionInformativeText | string |
Required |
|
| DrugDiscountDataID | integer |
None. |
|
| PrescriptionAdditionalParameters | Collection of PrescriptionAdditionalParameters |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"prescriptionId": "sample string 1",
"medsolPrescriptionId": "sample string 2",
"drugAtcCode": "sample string 3",
"drugCode": "sample string 4",
"drugName": "sample string 5",
"drugDosage": "sample string 6",
"dosageUnitMeasure": "sample string 7",
"dosageType": "sample string 8",
"drugSubscribedQuantityUnitMeasurment": "sample string 9",
"drugSubscribedQuantity": 10.0,
"doctorVerificationUsername": "sample string 11",
"doctorVerificationCode": "sample string 12",
"doctorIssuingUsername": "sample string 13",
"doctorIssuingCode": "sample string 14",
"prescriptionStatus": 15,
"prescriptionEmergency": "sample string 16",
"localDrugId": "sample string 17",
"localUsername": "sample string 18",
"prescriptionNecesseEst": true,
"drugIsCommercial": true,
"doctorSpecialistRecommended": true,
"externalDoctorName": "sample string 22",
"prescriptionInstruction": "sample string 23",
"prescriptionReason": "sample string 24",
"prescriptionInformativeText": "sample string 25",
"drugDiscountDataID": 1,
"prescriptionAdditionalParameters": [
{
"parameterID": 1,
"parameterCode": "sample string 2",
"parameterValue": "sample string 3"
},
{
"parameterID": 1,
"parameterCode": "sample string 2",
"parameterValue": "sample string 3"
}
]
},
{
"prescriptionId": "sample string 1",
"medsolPrescriptionId": "sample string 2",
"drugAtcCode": "sample string 3",
"drugCode": "sample string 4",
"drugName": "sample string 5",
"drugDosage": "sample string 6",
"dosageUnitMeasure": "sample string 7",
"dosageType": "sample string 8",
"drugSubscribedQuantityUnitMeasurment": "sample string 9",
"drugSubscribedQuantity": 10.0,
"doctorVerificationUsername": "sample string 11",
"doctorVerificationCode": "sample string 12",
"doctorIssuingUsername": "sample string 13",
"doctorIssuingCode": "sample string 14",
"prescriptionStatus": 15,
"prescriptionEmergency": "sample string 16",
"localDrugId": "sample string 17",
"localUsername": "sample string 18",
"prescriptionNecesseEst": true,
"drugIsCommercial": true,
"doctorSpecialistRecommended": true,
"externalDoctorName": "sample string 22",
"prescriptionInstruction": "sample string 23",
"prescriptionReason": "sample string 24",
"prescriptionInformativeText": "sample string 25",
"drugDiscountDataID": 1,
"prescriptionAdditionalParameters": [
{
"parameterID": 1,
"parameterCode": "sample string 2",
"parameterValue": "sample string 3"
},
{
"parameterID": 1,
"parameterCode": "sample string 2",
"parameterValue": "sample string 3"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfPrescriptionServiceUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMedit.eOsa.BDO.Services.PrescriptionService">
<PrescriptionServiceUpdateModel>
<DoctorIssuingCode>sample string 14</DoctorIssuingCode>
<DoctorIssuingUsername>sample string 13</DoctorIssuingUsername>
<DoctorSpecialistRecommended>true</DoctorSpecialistRecommended>
<DoctorVerificationCode>sample string 12</DoctorVerificationCode>
<DoctorVerificationUsername>sample string 11</DoctorVerificationUsername>
<DosageType>sample string 8</DosageType>
<DosageUnitMeasure>sample string 7</DosageUnitMeasure>
<DrugAtcCode>sample string 3</DrugAtcCode>
<DrugCode>sample string 4</DrugCode>
<DrugDiscountDataID>1</DrugDiscountDataID>
<DrugDosage>sample string 6</DrugDosage>
<DrugIsCommercial>true</DrugIsCommercial>
<DrugName>sample string 5</DrugName>
<DrugSubscribedQuantity>10</DrugSubscribedQuantity>
<DrugSubscribedQuantityUnitMeasurment>sample string 9</DrugSubscribedQuantityUnitMeasurment>
<ExternalDoctorName>sample string 22</ExternalDoctorName>
<LocalDrugId>sample string 17</LocalDrugId>
<LocalUsername>sample string 18</LocalUsername>
<MedsolPrescriptionId>sample string 2</MedsolPrescriptionId>
<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>
<PrescriptionEmergency>sample string 16</PrescriptionEmergency>
<PrescriptionId>sample string 1</PrescriptionId>
<PrescriptionInformativeText>sample string 25</PrescriptionInformativeText>
<PrescriptionInstruction>sample string 23</PrescriptionInstruction>
<PrescriptionNecesseEst>true</PrescriptionNecesseEst>
<PrescriptionReason>sample string 24</PrescriptionReason>
<PrescriptionStatus>15</PrescriptionStatus>
</PrescriptionServiceUpdateModel>
<PrescriptionServiceUpdateModel>
<DoctorIssuingCode>sample string 14</DoctorIssuingCode>
<DoctorIssuingUsername>sample string 13</DoctorIssuingUsername>
<DoctorSpecialistRecommended>true</DoctorSpecialistRecommended>
<DoctorVerificationCode>sample string 12</DoctorVerificationCode>
<DoctorVerificationUsername>sample string 11</DoctorVerificationUsername>
<DosageType>sample string 8</DosageType>
<DosageUnitMeasure>sample string 7</DosageUnitMeasure>
<DrugAtcCode>sample string 3</DrugAtcCode>
<DrugCode>sample string 4</DrugCode>
<DrugDiscountDataID>1</DrugDiscountDataID>
<DrugDosage>sample string 6</DrugDosage>
<DrugIsCommercial>true</DrugIsCommercial>
<DrugName>sample string 5</DrugName>
<DrugSubscribedQuantity>10</DrugSubscribedQuantity>
<DrugSubscribedQuantityUnitMeasurment>sample string 9</DrugSubscribedQuantityUnitMeasurment>
<ExternalDoctorName>sample string 22</ExternalDoctorName>
<LocalDrugId>sample string 17</LocalDrugId>
<LocalUsername>sample string 18</LocalUsername>
<MedsolPrescriptionId>sample string 2</MedsolPrescriptionId>
<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>
<PrescriptionEmergency>sample string 16</PrescriptionEmergency>
<PrescriptionId>sample string 1</PrescriptionId>
<PrescriptionInformativeText>sample string 25</PrescriptionInformativeText>
<PrescriptionInstruction>sample string 23</PrescriptionInstruction>
<PrescriptionNecesseEst>true</PrescriptionNecesseEst>
<PrescriptionReason>sample string 24</PrescriptionReason>
<PrescriptionStatus>15</PrescriptionStatus>
</PrescriptionServiceUpdateModel>
</ArrayOfPrescriptionServiceUpdateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PrescriptionServiceResponse| Name | Description | Type | Additional 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>