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.CommunicationVoName | 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": "a87d9df6-fc72-40d6-9512-6494c5925df5", "PatientId": "9fbb8dfd-e38d-41e1-9597-3f92b7ebfcfa", "EncounterId": "4bdfb83e-3aa3-443c-b999-08388ec3efb7", "CommunicationTemplateId": "418a839e-e277-46bd-af16-2ff989e60243", "Type": "sample string 5", "Title": "sample string 6", "IncludeSignature": true }, { "CommunicationId": "a87d9df6-fc72-40d6-9512-6494c5925df5", "PatientId": "9fbb8dfd-e38d-41e1-9597-3f92b7ebfcfa", "EncounterId": "4bdfb83e-3aa3-443c-b999-08388ec3efb7", "CommunicationTemplateId": "418a839e-e277-46bd-af16-2ff989e60243", "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>a87d9df6-fc72-40d6-9512-6494c5925df5</CommunicationId> <CommunicationTemplateId>418a839e-e277-46bd-af16-2ff989e60243</CommunicationTemplateId> <EncounterId>4bdfb83e-3aa3-443c-b999-08388ec3efb7</EncounterId> <IncludeSignature>true</IncludeSignature> <PatientId>9fbb8dfd-e38d-41e1-9597-3f92b7ebfcfa</PatientId> <Title>sample string 6</Title> <Type>sample string 5</Type> </Communication> <Communication> <CommunicationId>a87d9df6-fc72-40d6-9512-6494c5925df5</CommunicationId> <CommunicationTemplateId>418a839e-e277-46bd-af16-2ff989e60243</CommunicationTemplateId> <EncounterId>4bdfb83e-3aa3-443c-b999-08388ec3efb7</EncounterId> <IncludeSignature>true</IncludeSignature> <PatientId>9fbb8dfd-e38d-41e1-9597-3f92b7ebfcfa</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.StringName | 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>