POST api/v1/xref/{tenantXRef}/patient/inactivate
Delete an existing patient in a practice (by business xref)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tenantXRef |
ref key of the practice that owns the patient data |
string |
Required |
Body Parameters
The patient object
Com.Healthbridge.Hhas.Cloud.WebRole.Areas.ExternalSystemIntegration.Model.RemovePatientRequestName | Description | Type | Additional information |
---|---|---|---|
BillingPracticeNo | string |
None. |
|
PatientId | globally unique identifier |
None. |
|
PatientXRef | string |
None. |
|
PracticeId | globally unique identifier |
None. |
|
Reason | string |
None. |
|
CorrelationIds | Collection of string |
None. |
|
OriginatedSystem | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BillingPracticeNo": "sample string 1", "PatientId": "47aadfca-0512-4999-baae-26e8e000d359", "PatientXRef": "sample string 3", "PracticeId": "e0f09870-2ff7-43de-affc-a5cce2ae94fa", "Reason": "sample string 5", "CorrelationIds": [ "sample string 1", "sample string 2" ], "OriginatedSystem": "sample string 6" }
application/xml, text/xml
Sample:
<RemovePatientRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Cloud.WebRole.Areas.ExternalSystemIntegration.Model"> <CorrelationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://mpsapi.healthbridge.com/platform/core/v1/command/"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </CorrelationIds> <OriginatedSystem xmlns="http://mpsapi.healthbridge.com/platform/core/v1/command/">sample string 6</OriginatedSystem> <PatientId xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Patient.Interface.Commands">47aadfca-0512-4999-baae-26e8e000d359</PatientId> <PatientXRef xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Patient.Interface.Commands">sample string 3</PatientXRef> <PracticeId xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Patient.Interface.Commands">e0f09870-2ff7-43de-affc-a5cce2ae94fa</PracticeId> <Reason xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Patient.Interface.Commands">sample string 5</Reason> <BillingPracticeNo>sample string 1</BillingPracticeNo> </RemovePatientRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
NodeId of the patient
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": "bad2c1dc-3241-4ba8-800f-f687587d2164", "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>bad2c1dc-3241-4ba8-800f-f687587d2164</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>