The Sleep Order Object

{
  "ancillary_company": 140755855605768,
  "ccs": [
    131074
  ],
  "chart_date": "2021-05-26T03:49:04Z",
  "clinical_reason": "sickness",
  "confidential": true,
  "created_date": "2021-05-26T03:49:04Z",
  "deleted_date": null,
  "document_date": "2021-05-26T03:49:04Z",
  "follow_up_method": "email",
  "icd10_codes": [
    {
      "code": "O09.529",
      "description": "Supervision of elderly multigravida, unspecified trimester"
    }
  ],
  "id": 140756377075740,
  "patient": 140756664516609,
  "practice": 140756660256772,
  "prescribing_user": 2032,
  "signed_date": "2021-05-26T03:49:04Z",
  "signed_by": 1407563456436,
  "resolution": {
    "id": 140754511659009,
    "document": 140754512183329,
    "resolving_document": 140754512183329,
    "state": "outstanding",
    "note": null,
    "created_date": "2021-03-25T04:33:40Z",
    "deleted_date": null
  },
  "sleep_center": 140755855671306,
  "test_date": "2021-05-27",
  "tests": [
    {
      "code": null,
      "created_date": "2021-05-26T03:49:04Z",
      "deleted_date": null,
      "id": 140756665106487,
      "name": "test",
      "practice_created": 140756660256772
    }
  ]
}
AttributeTypeAllowed ValuesDescription
ancillary_companyinteger
ccsarray of Physician IDs
chart_datedatetime
clinical_reasonstring
confidentialbooleanTrue
False
created_datedatetime
deleted_datedatetimenullable
document_datedatetime
follow_up_methodstring
icd10_codesarray of ICD10 codes
idinteger
patientinteger
practiceinteger
prescribing_userinteger
signed_datedatetime
signed_byinteger
resolution.idintegerInternal id to represent the resolution state.
resolution.documentintegerWill be the same as the id of the lab order.
resolution.resolving_documentintegerIf the order is fulfilled will indicate the document referenced.

For lab orders will usually be a report.
resolution.statestringoutstanding,
fulfilled,
cancelled
The resolution state of the order.
resolution.notestringAny note that was added to represent why an order was cancelled.
resolution.created_datedatetimeThe datetime when this resolution state was created.
resolution.deleted_datedatetimeThe datetime when this resolution was deleted. Should never be null because we're providing the most updated resolution.
sleep_centerintegernullable
test_datedatenullableThe date on which the tests should be performed, or were performed.

Can be different than document_date, create_date
testsarray of Tests objects