POST api/ConvertPortalPatientToPatient
Converts a portal patient into a patient. If the patient does not exist, a new patient will be created. All the data of the portal patient will be transferred to the patient.
Request Information
URI Parameters
None.
Body Parameters
ConvertPortalPatientToPatientModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PortalPatientId |
Unique ID of the portal patient that will be converted to patient (Required). |
globally unique identifier |
None. |
| PatientExternalId |
Unique ID of the converted patient in the integrating system (Required). |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"portalPatientId": "b45f7b69-fd75-414e-a0e0-19e7fa68d241",
"patientExternalId": "sample string 2"
}
application/xml, text/xml
Sample:
<ConvertPortalPatientToPatientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.PortalPatients"> <PatientExternalId>sample string 2</PatientExternalId> <PortalPatientId>b45f7b69-fd75-414e-a0e0-19e7fa68d241</PortalPatientId> </ConvertPortalPatientToPatientModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ConvertPortalPatientToPatientModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PortalPatientId |
Unique ID of the portal patient that will be converted to patient (Required). |
globally unique identifier |
None. |
| PatientExternalId |
Unique ID of the converted patient in the integrating system (Required). |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"portalPatientId": "479a1d43-9650-4858-a5ce-f84f58dac7ea",
"patientExternalId": "sample string 2"
}
application/xml, text/xml
Sample:
<ConvertPortalPatientToPatientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.PortalPatients"> <PatientExternalId>sample string 2</PatientExternalId> <PortalPatientId>479a1d43-9650-4858-a5ce-f84f58dac7ea</PortalPatientId> </ConvertPortalPatientToPatientModel>