| GET | /POS/MOH/Prescription/{IdNumber} | ||
|---|---|---|---|
| GET | /POS/MOH/Prescription |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BranchNum | query | int | No | |
| IdNumber | path | string | No | |
| BirthDate | query | DateTime | No | |
| Status | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<MohPrescription> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UNID | form | int | No | |
| DS | form | string | No | |
| Is_Generic | form | int | No | |
| Product_ID | form | int | No | |
| Prescr_ID | form | string | No | |
| RecipeNo | form | string | No | |
| Oper_Date | form | DateTime? | No | |
| Duration | form | DateTime? | No | |
| Prod_Descr | form | string | No | |
| ProductGeneric | form | string | No | |
| Dosage_Priv | form | bool | No | |
| Prod_Count | form | int | No | |
| Prod_Left | form | int | No | |
| Status | form | string | No | |
| PharmaTherapyGroup | form | string | No | |
| IssuanceMode | form | string | No | |
| IdNumber | form | string | No | |
| Birthday | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /POS/MOH/Prescription/{IdNumber} HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Result:
[
{
UNID: 0,
DS: String,
Is_Generic: 0,
Product_ID: 0,
Prescr_ID: String,
RecipeNo: String,
Oper_Date: 0001-01-01,
Duration: 0001-01-01,
Prod_Descr: String,
ProductGeneric: String,
Dosage_Priv: False,
Prod_Count: 0,
Prod_Left: 0,
Status: String,
PharmaTherapyGroup: String,
IssuanceMode: String,
IdNumber: String,
Birthday: 0001-01-01
}
]
}