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": "647b6a75-7c27-4f59-a1b9-0c2984102c29",
"PatientId": "8b13f332-c48c-43eb-9cc6-9061df907ab9",
"EncounterId": "d7708263-b03d-484e-aafe-68b83831e5e2",
"CommunicationTemplateId": "e734366f-f0a3-476a-a1cb-68e9d0b0284e",
"Type": "sample string 5",
"Title": "sample string 6",
"IncludeSignature": true
},
{
"CommunicationId": "647b6a75-7c27-4f59-a1b9-0c2984102c29",
"PatientId": "8b13f332-c48c-43eb-9cc6-9061df907ab9",
"EncounterId": "d7708263-b03d-484e-aafe-68b83831e5e2",
"CommunicationTemplateId": "e734366f-f0a3-476a-a1cb-68e9d0b0284e",
"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>647b6a75-7c27-4f59-a1b9-0c2984102c29</CommunicationId>
<CommunicationTemplateId>e734366f-f0a3-476a-a1cb-68e9d0b0284e</CommunicationTemplateId>
<EncounterId>d7708263-b03d-484e-aafe-68b83831e5e2</EncounterId>
<IncludeSignature>true</IncludeSignature>
<PatientId>8b13f332-c48c-43eb-9cc6-9061df907ab9</PatientId>
<Title>sample string 6</Title>
<Type>sample string 5</Type>
</Communication>
<Communication>
<CommunicationId>647b6a75-7c27-4f59-a1b9-0c2984102c29</CommunicationId>
<CommunicationTemplateId>e734366f-f0a3-476a-a1cb-68e9d0b0284e</CommunicationTemplateId>
<EncounterId>d7708263-b03d-484e-aafe-68b83831e5e2</EncounterId>
<IncludeSignature>true</IncludeSignature>
<PatientId>8b13f332-c48c-43eb-9cc6-9061df907ab9</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>