POST api/v1/{practiceId}/clinical/{encounterId}/communications/pdf
Generate multiple report based on provided communications and save in one pdf
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| practiceId |
practice id |
globally unique identifier |
Required |
| encounterId | globally unique identifier |
Required |
Body Parameters
list of communications which should combined into one pdf
Collection of Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.CommunicationVo| Name | Description | Type | Additional information |
|---|---|---|---|
| CommunicationId |
the unique identifier for the of the communication instance |
globally unique identifier |
None. |
| PatientId |
The Id of the patient linked to the communication |
globally unique identifier |
None. |
| EncounterId |
The Id of the encounter linked to the communication |
globally unique identifier |
None. |
| CommunicationTemplateId |
Id of the template that is used to create the communication object. |
globally unique identifier |
None. |
| Type |
Classification of the communication type |
string |
None. |
| Title |
Title |
string |
None. |
| IncludeSignature | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"CommunicationId": "c8db9f70-af63-4b5c-96f3-8dd7ba9dd343",
"PatientId": "e7475a5c-4a06-4201-a173-e76dcdaf3789",
"EncounterId": "ae8dca07-c3d2-4612-bd84-78d1c16f5c46",
"CommunicationTemplateId": "542b46dd-68c8-4c11-8f7b-4d5ac108c2bd",
"Type": "sample string 5",
"Title": "sample string 6",
"IncludeSignature": true
},
{
"CommunicationId": "c8db9f70-af63-4b5c-96f3-8dd7ba9dd343",
"PatientId": "e7475a5c-4a06-4201-a173-e76dcdaf3789",
"EncounterId": "ae8dca07-c3d2-4612-bd84-78d1c16f5c46",
"CommunicationTemplateId": "542b46dd-68c8-4c11-8f7b-4d5ac108c2bd",
"Type": "sample string 5",
"Title": "sample string 6",
"IncludeSignature": true
}
]
application/xml, text/xml
Sample:
<ArrayOfCommunication xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://mpsapi.healthbridge.com/clinical/clinical/v1/encounter/">
<Communication>
<CommunicationId>c8db9f70-af63-4b5c-96f3-8dd7ba9dd343</CommunicationId>
<CommunicationTemplateId>542b46dd-68c8-4c11-8f7b-4d5ac108c2bd</CommunicationTemplateId>
<EncounterId>ae8dca07-c3d2-4612-bd84-78d1c16f5c46</EncounterId>
<IncludeSignature>true</IncludeSignature>
<PatientId>e7475a5c-4a06-4201-a173-e76dcdaf3789</PatientId>
<Title>sample string 6</Title>
<Type>sample string 5</Type>
</Communication>
<Communication>
<CommunicationId>c8db9f70-af63-4b5c-96f3-8dd7ba9dd343</CommunicationId>
<CommunicationTemplateId>542b46dd-68c8-4c11-8f7b-4d5ac108c2bd</CommunicationTemplateId>
<EncounterId>ae8dca07-c3d2-4612-bd84-78d1c16f5c46</EncounterId>
<IncludeSignature>true</IncludeSignature>
<PatientId>e7475a5c-4a06-4201-a173-e76dcdaf3789</PatientId>
<Title>sample string 6</Title>
<Type>sample string 5</Type>
</Communication>
</ArrayOfCommunication>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.String| Name | Description | Type | Additional information |
|---|---|---|---|
| Sucess | boolean |
None. |
|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
|
| Data | string |
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": "sample string 4",
"Links": [
{
"Rel": "sample string 1",
"HRef": "sample string 2"
},
{
"Rel": "sample string 1",
"HRef": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<RestApiResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects">
<Data>sample string 4</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>
</RestApiResultOfstring>