POST api/v1/{practiceid}/clinical/encounters/{encounterId}/mergeencounterlineitems

Merging encounter Line Items

Request Information

URI Parameters

NameDescriptionTypeAdditional information
practiceid

Unique identifier of practice

globally unique identifier

Required

encounterId

Unique identifier of encounter

globally unique identifier

Required

Body Parameters

public domain model = MergeencounterLineItems

Com.Healthbridge.Hhas.Clinical.Interface.Commands.MergeEncounterLineItems
NameDescriptionTypeAdditional information
EncounterId

globally unique identifier

None.

PracticeId

globally unique identifier

None.

OriginalInstruction

Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.EncounterVo

None.

NewInstruction

Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.EncounterTemplateVo

None.

CorrelationIds

Collection of string

None.

OriginatedSystem

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.SymptomQuestion'. Path 'OriginalInstruction.SymptomQuestions[0].Questions'.

text/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.SymptomQuestion'. Path 'OriginalInstruction.SymptomQuestions[0].Questions'.

application/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.SymptomQuestion' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.SymptomQuestion' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'MergeEncounterLineItems'.

Response Information

Resource Description

Http Status Code : Accepted

Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfCom.Healthbridge.Hhas.Clinical.Interface.ValueObjects.MergeEncounterResult
NameDescriptionTypeAdditional information
Sucess

boolean

None.

ResponseCode

integer

None.

ResponseMessage

string

None.

Data

Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.MergeEncounterResult

None.

Links

Collection of Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiLink

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.SymptomQuestion'. Path 'Data.MergedEncounter.SymptomQuestions[0].Questions'.

text/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.SymptomQuestion'. Path 'Data.MergedEncounter.SymptomQuestions[0].Questions'.

application/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.SymptomQuestion[]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.SymptomQuestion[]' contains cycles and cannot be serialized if reference tracking is disabled.