Imaging

Introduction #

The ImagingOrder, ImagingReview and ImagingReport models represent imaging results.

Basic Usage #

To retrieve an ImagingOrder, ImagingReview, or ImagingReport by identifier, use the get method on the model manager:

from canvas_sdk.v1.data.imaging import ImagingOrder, ImagingReview, ImagingReport

imaging_order = ImagingOrder.objects.get(id="d2194110-5c9a-4842-8733-ef09ea5ead11")
imaging_review = ImagingReview.objects.get(id="c02c6b02-2581-46bf-819c-b5aacad2134c")
imaging_report = ImagingReport.objects.get(id="c1a5a35a-4ee2-4a0e-85c0-21739dc8c4a8")

If you have a patient object, the orders, reviews, and reports can be accessed with the imaging_orders, imaging_reviews, and imaging_results attributes, respectively on a Patient object:

from canvas_sdk.v1.data.patient import Patient

patient = Patient.objects.get(id="1eed3ea2a8d546a1b681a2a45de1d790")
orders = patient.imaging_orders.all()
reviews = patient.imaging_reviews.all()
reports = patient.imaging_results.all()

Filtering #

Imaging orders, reviews, and reports can be filtered by any attribute that exists on the models.

Filtering is done with the filter method on the ImagingOrder, ImagingReview, and ImagingReport model managers.

By attribute #

Specify an attribute with filter to filter by that attribute:

from canvas_sdk.v1.data.imaging import ImagingOrder, ImagingReview, ImagingReport

orders = ImagingOrder.objects.filter(status="completed")
reviews = ImagingReview.objects.filter(is_released_to_patient=False)
reports = ImagingReport.objects.filter(requires_signature=True)

Attributes #

ImagingOrder #

Field NameType
idUUID
dbidInteger
createdDateTime
modifiedDateTime
originatorCanvasUser
deletedBoolean
committerCanvasUser
entered_in_errorCanvasUser
patientPatient
imagingString
note_to_radiologistString
internal_commentString
statusOrderStatus
date_time_orderedDateTime
priorityString
delegatedBoolean

ImagingReview #

Field NameType
idUUID
dbidInteger
createdDateTime
modifiedDateTime
originatorCanvasUser
deletedBoolean
committerCanvasUser
patient_communication_methodReviewPatientCommunicationMethod
internal_commentString
message_to_patientString
is_released_to_patientBoolean
statusReviewStatus
patientPatient

ImagingReport #

Field NameType
idUUID
dbidInteger
createdDateTime
modifiedDateTime
review_modeDocumentReviewMode
junkedBoolean
requires_signatureBoolean
assigned_dateDateTime
patientPatient
orderImagingOrder
sourceImagingReportSource
nameString
result_dateDate
original_dateDate
reviewImagingReview

Enumeration types #

OrderStatus #

ValueDescription
proposedProposed
draftDraft
plannedPlanned
requestedRequested
receivedReceived
acceptedAccepted
in-progressIn-progress
reviewReview
completedCompleted
cancelledCancelled
suspendedSuspended
rejectedRejected
failedFailed
EIEEntered in Error

ReviewPatientCommunicationMethod #

ValueDescription
DMdelegate call, can leave message
DAdelegate call, need patient to answer
DLdelegate letter
DCdo not communicate
AMalready left message
ARalready reviewed with patient

ReviewStatus #

ValueLabel
reviewingreviewing
reviewedreviewed

DocumentReviewMode #

ValueLabel
RRReview required
ARAlready reviewed offline
RNReview not required

ImagingReportSource #

ValueLabel
RADIOLOGY_PATIENTRadiology Report From Patient
VERBAL_PATIENTVerbal Report From Patient
DIRECTLY_RADIOLOGYDirectly Radiology Report