The Address data transfer object model.
| name | data type | description |
|---|---|---|
| street | string | Street for the Address |
| city | string | City name for the Address |
| postalZip | string | Postal or zip code for the Address. |
| locationId | number | Unique Location identifier for the Address |
| note | string | Note for the Address |
| type | string | Type for the address. |
| start | number | The effective date for the address |
| end | number | The end date for the address. |
| masks | array of MaskDto | The masks for the address |
Example
{
"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" : [ {
"id" : 1,
"maskId" : 12,
"untilDate" : "2017-11-08T00:00:00.000",
"roleId" : 12,
"userId" : 12
}, {
"id" : 1,
"maskId" : 12,
"untilDate" : "...",
"roleId" : 12,
"userId" : 12
} ]
}, {
"maskId" : 12,
"userId" : 6,
"masked" : true,
"maskedDate" : "...",
"lastModified" : "...",
"notes" : "This is test note",
"patientId" : 12,
"fieldName" : "STREET1",
"maskAuthorizations" : [ {
"id" : 1,
"maskId" : 12,
"untilDate" : "...",
"roleId" : 12,
"userId" : 12
}, {
"id" : 1,
"maskId" : 12,
"untilDate" : "...",
"roleId" : 12,
"userId" : 12
} ]
} ]
}