PUT api/patients
Call this method to update a patient. A new patient object is returned that the App can further modify before calling PutPatient again. Must have a valid Authorization header. NOTE: It's utmost importance that you only modify (work with) the returning objects. When PutPatient is called Patient.LastModifiedDate is set on the returning object by Noah. This is maintained by Noah and must not be changed. Prior to using this method call api/apppermissions/{Your Moduleid} to determine required fields.(Once pr. login) Prior to using this method call api/noahserversettings and see if PatientManagement is allowed.(Once pr. login)
Request Information
URI Parameters
None.
Body Parameters
The modified Patient object returned from a NewPatient, PutPation or GetPatient ... call.
PatientName | Description | Type | Additional information |
---|---|---|---|
ID |
Gets the ID. The ID is a unique identification of the object/record in the database. Controlled by Noah. Must be set to null or 0 when adding a new patient record but when updating the ID must be set. |
integer |
None. |
CreateDate |
Gets Create Date. Controlled by Noah. When adding or updating Noah ignore this. |
string |
None. |
PatientGUID |
Gets patient GUID. Controlled by Noah. When adding or updating Noah ignore this. |
globally unique identifier |
None. |
PatientNo |
Gets or sets the patient no. Max length is 20 characters. Controlled by Noah. When adding or updating Noah ignore this. |
string |
None. |
CreatedBy |
Gets the created by. Max length is 3 characters (User Initials). Controlled by Noah. Can be omitted by App when adding or updating. |
string |
None. |
LastModifiedDate |
Gets the last modified date. Controlled by Noah. When adding or updating Noah ignore this. |
string |
None. |
ActivePatient |
Gets or sets the active patient. If set to null it will be set to true. |
boolean |
None. |
FirstName |
Gets or sets the first name. Max length is 30 characters. |
string |
None. |
MiddleName |
Gets or sets the name of the middle. Max length is 30 characters. |
string |
None. |
LastName |
Gets or sets the last name. Max length is 30 characters. |
string |
None. |
Gender |
Gets or sets the gender. |
integer |
None. |
BirthDate |
Gets or sets the birth date. |
string |
None. |
Salutation |
Gets or sets the salutation. Max length is 30 characters. |
string |
None. |
Title |
Gets or sets the title. Max length is 30 characters. |
string |
None. |
Address1 |
Gets or sets the address1. Max length is 30 characters. |
string |
None. |
Address2 |
Gets or sets the address2. Max length is 30 characters. |
string |
None. |
Address3 |
Gets or sets the address3. Max length is 30 characters. |
string |
None. |
Province |
Gets or sets the province. Max length is 30 characters. |
string |
None. |
ZipCode |
Gets or sets the zip. Max length is 20 characters. |
string |
None. |
City |
Gets or sets the city. Max length is 30 characters. |
string |
None. |
Country |
Gets or sets the country. Max length is 30 characters. |
string |
None. |
HomeTelephone |
Gets or sets the home phone. Max length is 30 characters. |
string |
None. |
WorkTelephone |
Gets or sets the work phone. Max length is 30 characters. |
string |
None. |
MobileTelephone |
Gets or sets the mobile phone. Max length is 30 characters. |
string |
None. |
Gets or sets the E mail. Max length is 50 characters. |
string |
None. |
|
SSNumber |
Gets or sets the SS number. Max length is 20 characters. |
string |
None. |
Physician |
Gets or sets the physician. Max length is 30 characters. |
string |
None. |
Referral |
Gets or sets the referral. Max length is 30 characters. |
string |
None. |
Insurance1 |
Gets or sets the insurance1. Max length is 30 characters. |
string |
None. |
Insurance2 |
Gets or sets the insurance2. Max length is 30 characters. |
string |
None. |
Other1 |
Gets or sets the Other1. Max length is 30 characters. |
string |
None. |
Other2 |
Gets or sets the Other2. Max length is 30 characters. |
string |
None. |
Request Formats
application/json, text/json
{ "ID": 1, "CreateDate": "sample string 1", "PatientGUID": "fbcee672-ef60-40a5-9a3c-10790df8dad4", "PatientNo": "sample string 2", "CreatedBy": "sample string 3", "LastModifiedDate": "sample string 4", "ActivePatient": true, "FirstName": "sample string 5", "MiddleName": "sample string 6", "LastName": "sample string 7", "Gender": 1, "BirthDate": "sample string 8", "Salutation": "sample string 9", "Title": "sample string 10", "Address1": "sample string 11", "Address2": "sample string 12", "Address3": "sample string 13", "Province": "sample string 14", "ZipCode": "sample string 15", "City": "sample string 16", "Country": "sample string 17", "HomeTelephone": "sample string 18", "WorkTelephone": "sample string 19", "MobileTelephone": "sample string 20", "EMail": "sample string 21", "SSNumber": "sample string 22", "Physician": "sample string 23", "Referral": "sample string 24", "Insurance1": "sample string 25", "Insurance2": "sample string 26", "Other1": "sample string 27", "Other2": "sample string 28" }
application/xml, text/xml
<Patient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Himsa.Noah.Public.Model"> <ActivePatient>true</ActivePatient> <Address1>sample string 11</Address1> <Address2>sample string 12</Address2> <Address3>sample string 13</Address3> <BirthDate>sample string 8</BirthDate> <City>sample string 16</City> <Country>sample string 17</Country> <CreateDate>sample string 1</CreateDate> <CreatedBy>sample string 3</CreatedBy> <EMail>sample string 21</EMail> <FirstName>sample string 5</FirstName> <Gender>1</Gender> <HomeTelephone>sample string 18</HomeTelephone> <ID>1</ID> <Insurance1>sample string 25</Insurance1> <Insurance2>sample string 26</Insurance2> <LastModifiedDate>sample string 4</LastModifiedDate> <LastName>sample string 7</LastName> <MiddleName>sample string 6</MiddleName> <MobileTelephone>sample string 20</MobileTelephone> <Other1>sample string 27</Other1> <Other2>sample string 28</Other2> <PatientGUID>fbcee672-ef60-40a5-9a3c-10790df8dad4</PatientGUID> <PatientNo>sample string 2</PatientNo> <Physician>sample string 23</Physician> <Province>sample string 14</Province> <Referral>sample string 24</Referral> <SSNumber>sample string 22</SSNumber> <Salutation>sample string 9</Salutation> <Title>sample string 10</Title> <WorkTelephone>sample string 19</WorkTelephone> <ZipCode>sample string 15</ZipCode> </Patient>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
A new patient object that the App can work with.
PatientName | Description | Type | Additional information |
---|---|---|---|
ID |
Gets the ID. The ID is a unique identification of the object/record in the database. Controlled by Noah. Must be set to null or 0 when adding a new patient record but when updating the ID must be set. |
integer |
None. |
CreateDate |
Gets Create Date. Controlled by Noah. When adding or updating Noah ignore this. |
string |
None. |
PatientGUID |
Gets patient GUID. Controlled by Noah. When adding or updating Noah ignore this. |
globally unique identifier |
None. |
PatientNo |
Gets or sets the patient no. Max length is 20 characters. Controlled by Noah. When adding or updating Noah ignore this. |
string |
None. |
CreatedBy |
Gets the created by. Max length is 3 characters (User Initials). Controlled by Noah. Can be omitted by App when adding or updating. |
string |
None. |
LastModifiedDate |
Gets the last modified date. Controlled by Noah. When adding or updating Noah ignore this. |
string |
None. |
ActivePatient |
Gets or sets the active patient. If set to null it will be set to true. |
boolean |
None. |
FirstName |
Gets or sets the first name. Max length is 30 characters. |
string |
None. |
MiddleName |
Gets or sets the name of the middle. Max length is 30 characters. |
string |
None. |
LastName |
Gets or sets the last name. Max length is 30 characters. |
string |
None. |
Gender |
Gets or sets the gender. |
integer |
None. |
BirthDate |
Gets or sets the birth date. |
string |
None. |
Salutation |
Gets or sets the salutation. Max length is 30 characters. |
string |
None. |
Title |
Gets or sets the title. Max length is 30 characters. |
string |
None. |
Address1 |
Gets or sets the address1. Max length is 30 characters. |
string |
None. |
Address2 |
Gets or sets the address2. Max length is 30 characters. |
string |
None. |
Address3 |
Gets or sets the address3. Max length is 30 characters. |
string |
None. |
Province |
Gets or sets the province. Max length is 30 characters. |
string |
None. |
ZipCode |
Gets or sets the zip. Max length is 20 characters. |
string |
None. |
City |
Gets or sets the city. Max length is 30 characters. |
string |
None. |
Country |
Gets or sets the country. Max length is 30 characters. |
string |
None. |
HomeTelephone |
Gets or sets the home phone. Max length is 30 characters. |
string |
None. |
WorkTelephone |
Gets or sets the work phone. Max length is 30 characters. |
string |
None. |
MobileTelephone |
Gets or sets the mobile phone. Max length is 30 characters. |
string |
None. |
Gets or sets the E mail. Max length is 50 characters. |
string |
None. |
|
SSNumber |
Gets or sets the SS number. Max length is 20 characters. |
string |
None. |
Physician |
Gets or sets the physician. Max length is 30 characters. |
string |
None. |
Referral |
Gets or sets the referral. Max length is 30 characters. |
string |
None. |
Insurance1 |
Gets or sets the insurance1. Max length is 30 characters. |
string |
None. |
Insurance2 |
Gets or sets the insurance2. Max length is 30 characters. |
string |
None. |
Other1 |
Gets or sets the Other1. Max length is 30 characters. |
string |
None. |
Other2 |
Gets or sets the Other2. Max length is 30 characters. |
string |
None. |
Response Formats
application/json, text/json
{ "ID": 1, "CreateDate": "sample string 1", "PatientGUID": "d1e4007f-4c58-4d37-ae29-b9f65a25e698", "PatientNo": "sample string 2", "CreatedBy": "sample string 3", "LastModifiedDate": "sample string 4", "ActivePatient": true, "FirstName": "sample string 5", "MiddleName": "sample string 6", "LastName": "sample string 7", "Gender": 1, "BirthDate": "sample string 8", "Salutation": "sample string 9", "Title": "sample string 10", "Address1": "sample string 11", "Address2": "sample string 12", "Address3": "sample string 13", "Province": "sample string 14", "ZipCode": "sample string 15", "City": "sample string 16", "Country": "sample string 17", "HomeTelephone": "sample string 18", "WorkTelephone": "sample string 19", "MobileTelephone": "sample string 20", "EMail": "sample string 21", "SSNumber": "sample string 22", "Physician": "sample string 23", "Referral": "sample string 24", "Insurance1": "sample string 25", "Insurance2": "sample string 26", "Other1": "sample string 27", "Other2": "sample string 28" }
application/xml, text/xml
<Patient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Himsa.Noah.Public.Model"> <ActivePatient>true</ActivePatient> <Address1>sample string 11</Address1> <Address2>sample string 12</Address2> <Address3>sample string 13</Address3> <BirthDate>sample string 8</BirthDate> <City>sample string 16</City> <Country>sample string 17</Country> <CreateDate>sample string 1</CreateDate> <CreatedBy>sample string 3</CreatedBy> <EMail>sample string 21</EMail> <FirstName>sample string 5</FirstName> <Gender>1</Gender> <HomeTelephone>sample string 18</HomeTelephone> <ID>1</ID> <Insurance1>sample string 25</Insurance1> <Insurance2>sample string 26</Insurance2> <LastModifiedDate>sample string 4</LastModifiedDate> <LastName>sample string 7</LastName> <MiddleName>sample string 6</MiddleName> <MobileTelephone>sample string 20</MobileTelephone> <Other1>sample string 27</Other1> <Other2>sample string 28</Other2> <PatientGUID>d1e4007f-4c58-4d37-ae29-b9f65a25e698</PatientGUID> <PatientNo>sample string 2</PatientNo> <Physician>sample string 23</Physician> <Province>sample string 14</Province> <Referral>sample string 24</Referral> <SSNumber>sample string 22</SSNumber> <Salutation>sample string 9</Salutation> <Title>sample string 10</Title> <WorkTelephone>sample string 19</WorkTelephone> <ZipCode>sample string 15</ZipCode> </Patient>