Demographics of a person associated with Accuro, for example a Patient.
| name | data type | constraints | description |
|---|---|---|---|
| firstName | string | The person's first name. | |
| lastName | string | The person's last name. | |
| middleName | string | The person's middle name. | |
| title | string | The person's Honorific (Mrs., Dr., etc.). | |
| suffix | string | The person's name suffix (Jr., Sr., etc.). | |
| birthday | string | The person's date of birth. | |
| genderId | number | required | The person's gender. |
| EmailDto | The person's primary email. | ||
| phones | array of PhoneDto | The person's listed phone numbers. | |
| addresses | array of AddressDto | The person's listed addresses.
Addresses are ordered as follows:
For the Primary and Secondary Addresses, the Location Id of the address can be null. However, for all subsequent addresses the location id must be set and valid. |
|
| healthCard | PersonalHealthCardDto | The person's personal health card information. | |
| preferredContactType | ContactType | The person's preferred method of contact. | |
| nextKinName | string | The persons's listed next of kin. | |
| nextKinPhone | PhoneDto | Contact information for the person's next of kin. | |
| officialLanguageCode | string | ISO_639-2 Language Code representing the official language of the person. | |
| spokenLanguageCode | string | ISO_639-2 language Code representing the person's primary spoken language | |
| relationshipStatusId | number | The person's relationship status. Built in statuses are as follows:
|
Example
{
"firstName" : "John",
"lastName" : "Doe",
"middleName" : "Smith",
"title" : "Mr.",
"suffix" : "Sr.",
"birthday" : "1959-02-16T00:00:00.000-0800",
"genderId" : 1,
"email" : {
"emailId" : 1,
"type" : "Business",
"address" : "contact@doctor.com",
"order" : 1
},
"phones" : [ {
"phoneId" : 1,
"number" : "(123) 456-7890",
"ext" : "112",
"equipType" : "Cell",
"usage" : "Active",
"notes" : "Only available between 8am and noon.",
"order" : 2,
"contactType" : "Business"
}, {
"phoneId" : 1,
"number" : "(123) 456-7890",
"ext" : "112",
"equipType" : "Cell",
"usage" : "Active",
"notes" : "Only available between 8am and noon.",
"order" : 2,
"contactType" : "Business"
} ],
"addresses" : [ {
"street" : "102 Maple Street",
"city" : "Vancouver",
"postalZip" : "A1A2B2",
"locationId" : 1,
"note" : "A quick note.",
"type" : "type",
"start" : 2017,
"end" : 2017,
"masks" : [ {
"maskId" : 12,
"userId" : 6,
"masked" : true,
"maskedDate" : "2017-11-08T00:00:00.000",
"lastModified" : "2017-11-08T00:00:00.000",
"notes" : "This is test note",
"patientId" : 12,
"fieldName" : "STREET1",
"maskAuthorizations" : [ { }, { } ]
}, {
"maskId" : 12,
"userId" : 6,
"masked" : true,
"maskedDate" : "...",
"lastModified" : "...",
"notes" : "This is test note",
"patientId" : 12,
"fieldName" : "STREET1",
"maskAuthorizations" : [ { }, { } ]
} ]
}, {
"street" : "102 Maple Street",
"city" : "Vancouver",
"postalZip" : "A1A2B2",
"locationId" : 1,
"note" : "A quick note.",
"type" : "type",
"start" : 2017,
"end" : 2017,
"masks" : [ {
"maskId" : 12,
"userId" : 6,
"masked" : true,
"maskedDate" : "...",
"lastModified" : "...",
"notes" : "This is test note",
"patientId" : 12,
"fieldName" : "STREET1",
"maskAuthorizations" : [ { }, { } ]
}, {
"maskId" : 12,
"userId" : 6,
"masked" : true,
"maskedDate" : "...",
"lastModified" : "...",
"notes" : "This is test note",
"patientId" : 12,
"fieldName" : "STREET1",
"maskAuthorizations" : [ { }, { } ]
} ]
} ],
"healthCard" : {
"phn" : "1254",
"locationId" : 1,
"expiry" : "2016-02-16T00:00:00.000-0800"
},
"preferredContactType" : "WorkPhone",
"nextKinName" : "Jane Doe",
"nextKinPhone" : {
"phoneId" : 1,
"number" : "(123) 456-7890",
"ext" : "112",
"equipType" : "Cell",
"usage" : "Active",
"notes" : "Only available between 8am and noon.",
"order" : 2,
"contactType" : "Business"
},
"officialLanguageCode" : "eng",
"spokenLanguageCode" : "bul",
"relationshipStatusId" : 2
}