POST api/v1/billing/specialityrule/update
Update speciality rule
Request Information
URI Parameters
None.
Body Parameters
Com.Healthbridge.Hhas.Billing.Interface.ValueObjects.SpecialityRuleVo| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| SpecialityCode |
Speciality code (086) |
string |
None. |
| Speciality |
Speciality name (Psychologist, Physiotherapist, etc) |
string |
None. |
| DefaultProcedureCode |
Default consultation code to be added to encounter |
string |
None. |
| ConsumableProcedureCode |
Default consumable procedure code to be used for consumable lines |
string |
None. |
| PrefixChargeCodesOnClaim |
Prefix charge codes during lookup |
boolean |
None. |
| AvailableWards | Collection of string |
None. |
|
| MutuallyExclusiveCodes |
List of codes which shouldn't be used together with each other in one encounter |
Collection of Collection of string |
None. |
| Options |
Define the list of features allowed for speciality |
Dictionary of string [key] and string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "14d961d7-7f91-4e2a-9912-3b0102372a58",
"SpecialityCode": "sample string 2",
"Speciality": "sample string 3",
"DefaultProcedureCode": "sample string 4",
"ConsumableProcedureCode": "sample string 5",
"PrefixChargeCodesOnClaim": true,
"AvailableWards": [
"sample string 1",
"sample string 2"
],
"MutuallyExclusiveCodes": [
[
"sample string 1",
"sample string 2"
],
[
"sample string 1",
"sample string 2"
]
],
"Options": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
}
application/xml, text/xml
Sample:
<SpecialityRuleVo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Billing.Interface.ValueObjects">
<AvailableWards xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</AvailableWards>
<ConsumableProcedureCode>sample string 5</ConsumableProcedureCode>
<DefaultProcedureCode>sample string 4</DefaultProcedureCode>
<Id>14d961d7-7f91-4e2a-9912-3b0102372a58</Id>
<MutuallyExclusiveCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:ArrayOfstring>
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</d2p1:ArrayOfstring>
<d2p1:ArrayOfstring>
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</d2p1:ArrayOfstring>
</MutuallyExclusiveCodes>
<Options xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Options>
<PrefixChargeCodesOnClaim>true</PrefixChargeCodesOnClaim>
<Speciality>sample string 3</Speciality>
<SpecialityCode>sample string 2</SpecialityCode>
</SpecialityRuleVo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.Boolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Sucess | boolean |
None. |
|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
|
| Data | boolean |
None. |
|
| Links | Collection of Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiLink |
None. |
Response Formats
application/json, text/json
Sample:
{
"Sucess": true,
"ResponseCode": 2,
"ResponseMessage": "sample string 3",
"Data": true,
"Links": [
{
"Rel": "sample string 1",
"HRef": "sample string 2"
},
{
"Rel": "sample string 1",
"HRef": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<RestApiResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects">
<Data>true</Data>
<Links>
<RestApiLink>
<HRef>sample string 2</HRef>
<Rel>sample string 1</Rel>
</RestApiLink>
<RestApiLink>
<HRef>sample string 2</HRef>
<Rel>sample string 1</Rel>
</RestApiLink>
</Links>
<ResponseCode>2</ResponseCode>
<ResponseMessage>sample string 3</ResponseMessage>
<Sucess>true</Sucess>
</RestApiResultOfboolean>