The Letter Object

{
    'id': 140754680348890,
    'send_to_contact': {'id': 64062029826,
        'first_name': 'First',
        'last_name': 'Last',
        'org_name': 'Org Name',
        'specialties': [{'id': 1335, 'name': 'Cardiology'],
        'npi': 'NPI2222',
    },
    'send_to_name': 'Test Name',
    'send_to_elation_user': 12345,
    'fax_to': '5555555555',
    'display_to': 'Test Name',
    'to_number': '5555555555',
    'subject': 'Test Subject',
    'body': 'Test Body Message',
    'fax_status': 'success',
    'fax_attachments': True,
    'delivery_method': 'printed',
    'failure_unacknowledged': False,
    'direct_message_to': 'Test',
    'email_to': '[email protected]',
    'viewed_at': '2021-05-11T21: 16: 23Z',
    'send_to_elation_user': 1234,
    'delivery_date': '2021-05-11T21: 16: 23Z',
    'with_archive': False,
    'is_processed': True,
    'letter_type': 'provider',
    'attachments': [
        {
            'id': 64414089501,
            'document_type': 'MedsList'
        }
    ],
    'sign_date': '2021-05-11T21: 16: 23Z',
    "resolution": {
        "id": 140754511659009,
        "document": 140754512183329,
        "resolving_document": 140754512183329,
        "state": "outstanding",
        "note": null,
        "created_date": "2021-03-25T04:33:40Z",
        "deleted_date": null
    },
    'signed_by': 12323455,
    'tags': [],
    'document_date': '2021-05-11T21: 16: 23Z',
    'patient': 140754680086529,
    'practice': 140754674450436
}
AttributeTypeAllowed ValuesDescription
idbigint(20)ID
send_to_contactobject
send_to_contact.idint(11)
send_to_contact.first_namestring
send_to_contact.middle_namestring
send_to_contact.last_namestring
send_to_contact.org_namestring
send_to_contact.npistring
send_to_contact.specialtieslist
send_to_contact.specialties[].idint(11)
send_to_contact.specialties[].namestring
send_to_elation_userint(11)If a letter is sent to another elation user, this will be that user's id.
send_to_namestring
fax_tostring
display_tostring
to_numberstring
subjectstring(200)
bodylongtext
fax_statusstring"pending",
"success",
"failed"
fax_attachmentsbool
delivery_methodstring"emr",
"passport",
"fax",
"email",
"printed",
"direct"
failure_unacknowledgebool
direct_message_tostring(200)
email_tostring(200)
viewed_atdatetime
send_to_access_user_idint(11)
delivery_datedatetime
with_archivebool
is_processedbool
letter_typestring"patient_initiated",
"patient", "referral",
"provider"
attachments.idint
attachments.document_typestring"Entity",
"RefPanel",
"PatientDemog",
"ImmHistory",
"MedsList",
"WhoHeightChart",
"WhoWeightChart",
"WhoHcChart",
"CdcHeightChart",
"CdcWeightChart",
"CdcBmiChart",
"CompMedsList",
"CdcHcChart",
sign_datedatetime
signed_byint(11)The user who signed the letter.
tagslist[Document Tag]A list of Document Tags associated with the letter.
document_datedatetime
patientint
practiceint