PUT api/v1/{practiceid}/clinical/encounters/{encounterId}/migrate
Migrate encounter
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
practiceid |
Unique identifier of practice |
globally unique identifier |
Required |
encounterId | globally unique identifier |
Required |
Body Parameters
public domain model = migrateencounter
Com.Healthbridge.Hhas.Clinical.Interface.Commands.MigrateEncounterName | Description | Type | Additional information |
---|---|---|---|
Encounter | Com.Healthbridge.Hhas.Clinical.Interface.ValueObjects.EncounterVo |
None. |
|
CorrelationIds | Collection of string |
None. |
|
OriginatedSystem | string |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Id the encounter
Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.GuidName | Description | Type | Additional information |
---|---|---|---|
Sucess | boolean |
None. |
|
ResponseCode | integer |
None. |
|
ResponseMessage | string |
None. |
|
Data | globally unique identifier |
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": "582c1dc7-3e4b-429b-be6c-7c1b5e1df86a", "Links": [ { "Rel": "sample string 1", "HRef": "sample string 2" }, { "Rel": "sample string 1", "HRef": "sample string 2" } ] }
application/xml, text/xml
Sample:
<RestApiResultOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects"> <Data>582c1dc7-3e4b-429b-be6c-7c1b5e1df86a</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> </RestApiResultOfguid>