PUT api/v1/{practiceid}/clinical/encounters/{encounterId}/refresh

Refresh encounter, with 2 main goals 1) switch encounter type which requires predefined lines (e.g. if Medical Insurance selected add Z02.6 diagnosis, delete line items) 2) apply modifier calculations logic if any

Request Information

URI Parameters

NameDescriptionTypeAdditional information
practiceid

Unique identifier of practice

globally unique identifier

Required

encounterId

globally unique identifier

Required

Body Parameters

public domain model = RefreshEncounter

Com.Healthbridge.Hhas.Cloud.WebRole.Models.ApiModels.RefreshEncounter
NameDescriptionTypeAdditional information
Encounter

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

None.

EncounterType

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 'Encounter.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 'Encounter.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 'RefreshEncounter'.

Response Information

Resource Description

Id the encounter

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

boolean

None.

ResponseCode

integer

None.

ResponseMessage

string

None.

Data

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

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.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.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.