reports Package

reports Package

Indivo Reporting Views.

The views that implement reporting calls.

allergy Module

indivo.views.reports.allergy._allergy_list(request, *args, **kwargs)

List the allergy objects matching the passed query parameters.

See API Query Interface for a listing of valid parameters.

Will return 200 OK with a list of allergies on success, 400 Bad Request if any invalid query parameters were passed.

indivo.views.reports.allergy.allergy_list(*args, **kwargs)

List the allergy data for a given record.

For 1:1 mapping of URLs to views. Just calls _allergy_list().

indivo.views.reports.allergy.carenet_allergy_list(*args, **kwargs)

List the allergy data for a given carenet.

For 1:1 mapping of URLs to views. Just calls _allergy_list().

ccr Module

indivo.views.reports.ccr.report_ccr(request, record=None, carenet=None)

Export patient data as a Continuity of Care Record (CCR) document.

Will return 200 OK with a CCR on success, 400 Bad Request if neither a record or carenet was passed.

equipment Module

indivo.views.reports.equipment._equipment_list(request, *args, **kwargs)

List the equipment objects matching the passed query parameters.

See API Query Interface for a listing of valid parameters.

Will return 200 OK with a list of equipment on success, 400 Bad Request if any invalid query parameters were passed.

indivo.views.reports.equipment.carenet_equipment_list(*args, **kwargs)

List the equipment data for a given carenet.

For 1:1 mapping of URLs to views. Just calls _equipment_list().

indivo.views.reports.equipment.equipment_list(*args, **kwargs)

List the equipment data for a given record.

For 1:1 mapping of URLs to views. Just calls _equipment_list().

immunization Module

indivo.views.reports.immunization._immunization_list(request, *args, **kwargs)

List the immunization objects matching the passed query parameters.

See API Query Interface for a listing of valid parameters.

Will return 200 OK with a list of immunizations on success, 400 Bad Request if any invalid query parameters were passed.

indivo.views.reports.immunization.carenet_immunization_list(*args, **kwargs)

List the immunization data for a given carenet.

For 1:1 mapping of URLs to views. Just calls _immunization_list().

indivo.views.reports.immunization.immunization_list(*args, **kwargs)

List the immunization data for a given record.

For 1:1 mapping of URLs to views. Just calls _immunization_list().

lab Module

indivo.views.reports.lab._lab_list(request, *args, **kwargs)

List the lab objects matching the passed query parameters.

See API Query Interface for a listing of valid parameters.

Will return 200 OK with a list of labs on success, 400 Bad Request if any invalid query parameters were passed.

indivo.views.reports.lab.carenet_lab_list(*args, **kwargs)

List the lab data for a given carenet.

For 1:1 mapping of URLs to views. Just calls _lab_list().

indivo.views.reports.lab.lab_list(*args, **kwargs)

List the lab data for a given record.

For 1:1 mapping of URLs to views. Just calls _lab_list().

measurement Module

indivo.views.reports.measurement._measurement_list(request, *args, **kwargs)

List the measurement objects matching the passed query parameters.

See API Query Interface for a listing of valid parameters.

Will return 200 OK with a list of measurements on success, 400 Bad Request if any invalid query parameters were passed.

indivo.views.reports.measurement.carenet_measurement_list(*args, **kwargs)

List the measurement data for a given carenet.

For 1:1 mapping of URLs to views. Just calls _measurement_list().

indivo.views.reports.measurement.measurement_list(*args, **kwargs)

List the measurement data for a given record.

For 1:1 mapping of URLs to views. Just calls _measurement_list().

medication Module

indivo.views.reports.medication._medication_list(request, *args, **kwargs)

List the medication objects matching the passed query parameters.

See API Query Interface for a listing of valid parameters.

Will return 200 OK with a list of medications on success, 400 Bad Request if any invalid query parameters were passed.

indivo.views.reports.medication.carenet_medication_list(*args, **kwargs)

List the medication data for a given carenet.

For 1:1 mapping of URLs to views. Just calls _medication_list().

indivo.views.reports.medication.medication_list(*args, **kwargs)

List the medication data for a given record.

For 1:1 mapping of URLs to views. Just calls _medication_list().

problem Module

indivo.views.reports.problem._problem_list(request, *args, **kwargs)

List the problem objects matching the passed query parameters.

See API Query Interface for a listing of valid parameters.

Will return 200 OK with a list of problems on success, 400 Bad Request if any invalid query parameters were passed.

indivo.views.reports.problem.carenet_problem_list(*args, **kwargs)

List the problem data for a given carenet.

For 1:1 mapping of URLs to views. Just calls _problem_list().

indivo.views.reports.problem.problem_list(*args, **kwargs)

List the problem data for a given record.

For 1:1 mapping of URLs to views. Just calls _problem_list().

procedure Module

indivo.views.reports.procedure._procedure_list(request, *args, **kwargs)

List the procedure objects matching the passed query parameters.

See API Query Interface for a listing of valid parameters.

Will return 200 OK with a list of procedures on success, 400 Bad Request if any invalid query parameters were passed.

indivo.views.reports.procedure.carenet_procedure_list(*args, **kwargs)

List the procedure data for a given carenet.

For 1:1 mapping of URLs to views. Just calls _procedure_list().

indivo.views.reports.procedure.procedure_list(*args, **kwargs)

List the procedure data for a given record.

For 1:1 mapping of URLs to views. Just calls _procedure_list().

reportutils Module

indivo.views.reports.reportutils.report_orderby(func)

Decorator to automatically apply report_orderby_update() where required.

Adjusts the order_by parameter to be appropriately massaged to pull order_by from the right join table

indivo.views.reports.reportutils.report_orderby_update(order_by)

Update the order_by clause for a reporting call.

Looks up and applies mappings from ORDER_BY_MAPPINGS, above.

Returns a revised order_by string.

simple_clinical_notes Module

indivo.views.reports.simple_clinical_notes._simple_clinical_notes_list(request, *args, **kwargs)

List the simple_clinical_notes objects matching the passed query parameters.

See API Query Interface for a listing of valid parameters.

Will return 200 OK with a list of simple clinical notes on success, 400 Bad Request if any invalid query parameters were passed.

indivo.views.reports.simple_clinical_notes.carenet_simple_clinical_notes_list(*args, **kwargs)

List the simple_clinical_notes data for a given carenet.

For 1:1 mapping of URLs to views. Just calls _simple_clinical_notes_list().

indivo.views.reports.simple_clinical_notes.simple_clinical_notes_list(*args, **kwargs)

List the simple_clinical_notes data for a given record.

For 1:1 mapping of URLs to views. Just calls _simple_clinical_notes_list().

vitals Module

indivo.views.reports.vitals._vitals_list(request, *args, **kwargs)

List the vitals objects matching the passed query parameters.

See API Query Interface for a listing of valid parameters.

Will return 200 OK with a list of vitals on success, 400 Bad Request if any invalid query parameters were passed.

indivo.views.reports.vitals.carenet_vitals_list(*args, **kwargs)

List the vitals data for a given carenet.

For 1:1 mapping of URLs to views. Just calls _vitals_list().

indivo.views.reports.vitals.vitals_list(*args, **kwargs)

List the vitals data for a given record.

For 1:1 mapping of URLs to views. Just calls _vitals_list().