POST api/PatientSurgeryUpdates

Updates a patient surgery.

Request Information

URI Parameters

None.

Body Parameters

Model used to add/update patient surgical histories.

PatientSurgicalHistoryRequestModel
NameDescriptionTypeAdditional information
PatientSurgeryUpdateRequestId

Unique ID of the surgical history request.

integer

None.

Created

Date of request of surgical history.

string

None.

PghdUpdateRequestId

Unique ID of the PGHD update request.

integer

None.

PatientName

Name of the patient

string

None.

SurgeryId

Unique ID of the surgery.

integer

None.

SurgeryName

Name of the surgery.

string

None.

SurgeryLocationType

Location of the surgery. Possible values: Right Eye, Left Eye, Both, N/A

string

None.

NonEyeSurgeryLocationType

Location of the surgery. Possible values: Right Side, Left Side, N/A.

string

None.

NonEyeSurgeryLocationName

Non Eye location name of the surgery.

string

None.

SurgeryDate

Date of the surgery to be done.

string

None.

Comments

Comments for surgery request.

string

None.

Operation

Status of patient surgery. Possible values: Unchanged, Added, Updated, Deleted.

string

None.

PatientSurgeryId

Unique ID of the patient surgery.

integer

None.

EyeSurgery

Indicates if surgery is related to eye or non-eye.

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientSurgeryUpdateRequestId": 1,
  "Created": "sample string 1",
  "PghdUpdateRequestId": 1,
  "PatientName": "sample string 2",
  "SurgeryId": 1,
  "SurgeryName": "sample string 3",
  "SurgeryLocationType": "sample string 4",
  "NonEyeSurgeryLocationType": "sample string 5",
  "NonEyeSurgeryLocationName": "sample string 6",
  "SurgeryDate": "sample string 7",
  "Comments": "sample string 8",
  "Operation": "sample string 9",
  "PatientSurgeryId": 1,
  "EyeSurgery": true
}

application/xml, text/xml

Sample:
<PatientSurgicalHistoryRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.PatientSurgeries">
  <Comments>sample string 8</Comments>
  <Created>sample string 1</Created>
  <EyeSurgery>true</EyeSurgery>
  <NonEyeSurgeryLocationName>sample string 6</NonEyeSurgeryLocationName>
  <NonEyeSurgeryLocationType>sample string 5</NonEyeSurgeryLocationType>
  <Operation>sample string 9</Operation>
  <PatientName>sample string 2</PatientName>
  <PatientSurgeryId>1</PatientSurgeryId>
  <PatientSurgeryUpdateRequestId>1</PatientSurgeryUpdateRequestId>
  <PghdUpdateRequestId>1</PghdUpdateRequestId>
  <SurgeryDate>sample string 7</SurgeryDate>
  <SurgeryId>1</SurgeryId>
  <SurgeryLocationType>sample string 4</SurgeryLocationType>
  <SurgeryName>sample string 3</SurgeryName>
</PatientSurgicalHistoryRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PatientSurgicalHistoryRequestModel
NameDescriptionTypeAdditional information
PatientSurgeryUpdateRequestId

Unique ID of the surgical history request.

integer

None.

Created

Date of request of surgical history.

string

None.

PghdUpdateRequestId

Unique ID of the PGHD update request.

integer

None.

PatientName

Name of the patient

string

None.

SurgeryId

Unique ID of the surgery.

integer

None.

SurgeryName

Name of the surgery.

string

None.

SurgeryLocationType

Location of the surgery. Possible values: Right Eye, Left Eye, Both, N/A

string

None.

NonEyeSurgeryLocationType

Location of the surgery. Possible values: Right Side, Left Side, N/A.

string

None.

NonEyeSurgeryLocationName

Non Eye location name of the surgery.

string

None.

SurgeryDate

Date of the surgery to be done.

string

None.

Comments

Comments for surgery request.

string

None.

Operation

Status of patient surgery. Possible values: Unchanged, Added, Updated, Deleted.

string

None.

PatientSurgeryId

Unique ID of the patient surgery.

integer

None.

EyeSurgery

Indicates if surgery is related to eye or non-eye.

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "PatientSurgeryUpdateRequestId": 1,
  "Created": "sample string 1",
  "PghdUpdateRequestId": 1,
  "PatientName": "sample string 2",
  "SurgeryId": 1,
  "SurgeryName": "sample string 3",
  "SurgeryLocationType": "sample string 4",
  "NonEyeSurgeryLocationType": "sample string 5",
  "NonEyeSurgeryLocationName": "sample string 6",
  "SurgeryDate": "sample string 7",
  "Comments": "sample string 8",
  "Operation": "sample string 9",
  "PatientSurgeryId": 1,
  "EyeSurgery": true
}

application/xml, text/xml

Sample:
<PatientSurgicalHistoryRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.PatientSurgeries">
  <Comments>sample string 8</Comments>
  <Created>sample string 1</Created>
  <EyeSurgery>true</EyeSurgery>
  <NonEyeSurgeryLocationName>sample string 6</NonEyeSurgeryLocationName>
  <NonEyeSurgeryLocationType>sample string 5</NonEyeSurgeryLocationType>
  <Operation>sample string 9</Operation>
  <PatientName>sample string 2</PatientName>
  <PatientSurgeryId>1</PatientSurgeryId>
  <PatientSurgeryUpdateRequestId>1</PatientSurgeryUpdateRequestId>
  <PghdUpdateRequestId>1</PghdUpdateRequestId>
  <SurgeryDate>sample string 7</SurgeryDate>
  <SurgeryId>1</SurgeryId>
  <SurgeryLocationType>sample string 4</SurgeryLocationType>
  <SurgeryName>sample string 3</SurgeryName>
</PatientSurgicalHistoryRequestModel>