Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Flows/Generate and view a report: Difference between revisions

From OHC Network Wiki
More languages
Content deleted Content added
Create version 3.1 platform flow from docs commit 38d3e1f (via create-page on MediaWiki MCP Server)
 
Expand flow to faithfully mirror version 3.1 MDX at 38d3e1f (via update-page on MediaWiki MCP Server)
 
Line 3: Line 3:
|domain=platform
|domain=platform
|title=Generate and view a report
|title=Generate and view a report
|summary=Generate a report from an active template, then view, download, print, archive, or regenerate it.
|summary=This flow describes how to generate a report for an encounter from a report template. You can then view the report, download it, print it, or generate it again.
|order=5
|order=5
|introduced=3.0
|introduced=3.0
Line 9: Line 9:
|reference=References/Report & Templates
|reference=References/Report & Templates
}}
}}

== Overview ==

This flow describes how to generate a report for an encounter from a [[Concepts/Report Template|report template]]. You can then view the report, download it, print it, or generate it again.

== Pre-requisites ==

* The patient is registered in Care, and the patient has an encounter at the facility.
* The facility has at least one Discharge Summary template with the status Active.
* You have the permissions listed below.

== Permissions ==

{| class="wikitable"
|-
! Permission
! Access
|-
| Can Read Template
| See the report templates in the Reports section. Facility Admin, Administrator, Admin, Staff, Doctor, Nurse, Volunteer, and Pharmacist have this permission.
|-
| Can generate report from template
| Generate a report from a template. Facility Admin, Administrator, Admin, Staff, Doctor, Nurse, Volunteer, and Pharmacist have this permission.
|-
| Can generate report for completed encounter
| Generate a report when the encounter is complete. Facility Admin and Admin have this permission.
|}

{{Note|1=If the encounter is complete, you need both Can generate report from template and Can generate report for completed encounter.}}


== Steps ==
== Steps ==

# Open the patient, encounter, or account covered by the template type.
=== 1. Open the encounter ===
⚫
# Open its '''Reports''' section and select an Active template.

⚫
# Generate the report.
# Open the generated report to view, download, or print it.
Open the encounter of the patient.

# Archive it with a reason when it should no longer be active, or generate it again when updated output is needed.
Go to the '''Overview''' tab.

=== 2. Open the Reports section ===

⚫
Go to the '''Reports''' section of the Overview tab.

Care shows a button for each Discharge Summary template with the status Active at the facility. Each button carries the name of the template.

=== 3. Select a template ===

Select the button of the template that you want.

Care opens the report viewer for that template and that encounter.

If no report exists for this template and encounter, Care generates one.

{{Note|1=Care generates the report in the background. Care checks the progress until the file is ready, or until the time limit ends.}}

=== 4. View the report ===

Care shows the rendered PDF or HTML file in the viewer.

From the viewer, you can do these actions:

⚫
* Download the report.
* Print the report.
* Generate the report again. Generate the report again after the encounter data changes.

=== 5. Open an earlier report ===

The viewer lists the reports that Care generated before for this template and this encounter.

Select an earlier report to open that version instead of the latest one.


== Expected Outcome ==
== Expected Outcome ==
Care stores a generated PDF or HTML report separately from its template.


{{Note|1=Generating a report for a completed encounter also requires the completed-encounter report permission.}}
* Care generates a report for the encounter from the selected template.
* Care shows the report in the viewer, and you can download it or print it.
* Care keeps the earlier reports for the template and the encounter, and you can open them again.


{{Navbox platform}}
{{Navbox platform}}