PUT api/v1/{practiceid}/clinical/encounters/{encounterId}/communications/{communicationId}/{indexId}
Update encounter communication with provided communication body
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| practiceid | globally unique identifier |
Required |
|
| encounterId | globally unique identifier |
Required |
|
| communicationId | globally unique identifier |
Required |
|
| indexId | integer |
Required |
Body Parameters
Com.Healthbridge.Hhas.Clinical.Interface.Commands.UpdateEncounterCommunication| Name | Description | Type | Additional information |
|---|---|---|---|
| PracticeId | globally unique identifier |
None. |
|
| Content | string |
None. |
|
| Title | string |
None. |
|
| EncounterId | globally unique identifier |
None. |
|
| CommunicationId | globally unique identifier |
None. |
|
| CorrelationIds | Collection of string |
None. |
|
| OriginatedSystem | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PracticeId": "682363a7-e5b7-4094-9147-dc1fe1fd27ad",
"Content": "sample string 2",
"Title": "sample string 3",
"EncounterId": "2ffd0dad-e1d3-4ba5-a6c7-b366e2e4b3d8",
"CommunicationId": "67a03dfb-1392-4e91-9273-dcc8e9bbaba0",
"CorrelationIds": [
"sample string 1",
"sample string 2"
],
"OriginatedSystem": "sample string 6"
}
application/xml, text/xml
Sample:
<UpdateEncounterCommunication xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Clinical.Interface.Commands">
<CorrelationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://mpsapi.healthbridge.com/platform/core/v1/command/">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</CorrelationIds>
<OriginatedSystem xmlns="http://mpsapi.healthbridge.com/platform/core/v1/command/">sample string 6</OriginatedSystem>
<CommunicationId>67a03dfb-1392-4e91-9273-dcc8e9bbaba0</CommunicationId>
<Content>sample string 2</Content>
<EncounterId>2ffd0dad-e1d3-4ba5-a6c7-b366e2e4b3d8</EncounterId>
<PracticeId>682363a7-e5b7-4094-9147-dc1fe1fd27ad</PracticeId>
<Title>sample string 3</Title>
</UpdateEncounterCommunication>
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>