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": "250f7418-07c4-47e6-bbc1-77dd02456b30",
"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>250f7418-07c4-47e6-bbc1-77dd02456b30</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": "14ddf945-ec48-44a5-aa50-6066c9d94972",
"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>14ddf945-ec48-44a5-aa50-6066c9d94972</PortalPatientId> </ConvertPortalPatientToPatientModel>