Collect a specimen
Overview
This flow describes how to collect a specimen for a service request in Care. You record the collection details, identify the specimen with a QR code, and then print the specimen labels.
Each specimen answers one specimen requirement of the request. A specimen requirement is a specimen definition that the activity definition of the request lists.
Pre-requisites
- The patient has a service request, and the activity definition of the request lists one or more specimen requirements.
- If the activity definition lists no specimen requirements, the service request page shows no specimen section.
- The service request is Draft or Active. The screen allows collecting, processing and discarding only in these two statuses.
- You have the permissions listed below.
Permissions
| Permission | Access |
|---|---|
| Can Create Specimen on Facility | Lets you create the draft specimen and mark it as collected. Print All QR Codes also needs it when it creates drafts. You need it in the encounter's departments, or in a department of one of the request's locations. By default, the Facility Admin, Doctor and Nurse roles hold it. |
| Can Read Service Request | Lets you list the service requests of the location and open the service request page. To list them, you need it in a department of the location. For the page, you need it in the encounter's departments, or in a department of one of the request's locations. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer and Pharmacist roles hold it. |
| Can Read Activity Definition | Lets the service request page load the specimen requirements. Without it, the page shows only an error. You need it in any department of the facility. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse and Volunteer roles hold it. |
| Can List Facility Locations | Lets you pick a location in the location switcher. Needed only if you use the switcher instead of Services. You need it in a department of that location. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse and Pharmacist roles hold it. |
| Can Read Healthcare Service | Lets you open the location from Services. You need it in any department of the facility. Every default role holds it. |
The encounter's departments are the departments added to the encounter and the departments above them. They also include the departments of the encounter's current location and the facility's Administration department.
The departments of a location are the departments linked to it, the departments above them, the departments of its parent location, and the facility's Administration department.
By default, the Facility Admin, Doctor and Nurse roles hold all five permissions. With one of these roles in the facility's Administration department, you hold the five permissions where this flow needs them.
These are the default roles. Your installation can also have other roles with their own permissions.
Care shows Collect Specimen to every user who can open the service request page. If you do not hold "Can Create Specimen on Facility" in the places above, Care refuses the save and shows the server's message.
Steps
1. Open the service request
In the facility sidebar, select Services.
Open the laboratory service. On the card of your location, select View Requests.
If you are already in a location, you can also pick your location in the location switcher. Then, in the sidebar of the location, under Patient Care, select Service Requests.
The location's Service Requests page lists the service requests of the location. By default, it shows the Active requests.
View service requests describes how to find a service request.
In the row of the service request, select See Details. Care opens the service request page.
On a narrow screen, each service request shows as a card with See Details.
You can also open the service request page from the encounter's Service Requests tab. See View service requests.
On a phone, select the Specimen tab to go to the specimen section.

2. Read the specimen requirement
The specimen section shows one card for each specimen requirement of the request.
The section heading reads Pending Specimen Collection, with the number of requirements that are not collected yet.
A card with no specimen shows "Required:", the title of the specimen definition, the Collection Pending badge and Collect Specimen.
If the requirement has a draft specimen, the card shows the Draft badge. It shows a button with up-down arrows in place of Collect Specimen.
Read the Specimen Collection Instructions panel on the card before you collect the specimen.
The panel shows Required Type, Required Method and Patient Prep. It also shows Required Container (Container, Capacity, Min. Volume, Preparation) and Required Processing & Storage (Retention).


3. Start the collection
Select Collect Specimen (shortcut C) on the card.
If the card already has a draft specimen, select the button with the up-down arrows to open the form again. For example, the card has a draft specimen after you print labels first or select Cancel.
Care creates a draft specimen from the specimen definition. Then it opens the collection form in place of the cards.
The draft has the specimen type of the definition. It also has the collection method, body site and quantity that the definition sets.
While the form is open, Care hides the other cards and Print All QR Codes.
Care still shows the heading Pending Specimen Collection and the header of this card above the form.
4. Identify the specimen
The form starts with Sample Identification. It has two tabs, Generate QR and Scan Existing. Generate QR is selected first.
To use the specimen ID that Care made for the draft, keep Generate QR.
Care shows "QR code generated successfully" and the QR code of the specimen ID. The specimen ID is the ID of the draft specimen.
To print a label for this specimen now, select Print QR code.
To use an ID that the container already has, select Scan Existing.
Type the ID in "Scan or enter specimen identifier".
To scan the ID instead, select the scan button. Care opens the camera scanner and puts the scanned value in the field.

5. Enter the collection details
The second part of the form is Collection Information.
If the specimen definition names a container, select See Container Requirements. The panel shows Type, Container Capacity, Minimum Volume and Preparation.
Enter the collection details.
| Components | What it captures |
|---|---|
| Collection Date & Time | The date and time of the collection. The form fills in the current date and time. |
| Quantity | The amount that you collect, as a whole number. The form fills in the quantity that the specimen definition sets. If you enter a value, select a Unit. |
| Unit | The unit of the quantity: milligram, gram, milliliter, drop or microgram. If the container of the definition has a capacity, the unit starts as the unit of that capacity. Then Quantity is required. If you select a unit, enter a value. |
| Collection Method | How the specimen is collected. Search for a method and select it. The form fills in the method that the specimen definition sets. |
| Body Site | The part of the body that the specimen comes from. Search for a body site and select it. The form fills in the body site that the specimen definition sets. |
| Fasting Status | The fasting status of the patient. Search for a status and select it. |
| Fasting Duration (optional) | How long the patient fasted, in hours. The field shows no unit. Enter a whole number. Care refuses a decimal when you save. |
| Notes | More information about the collection. The card of the collected specimen does not show the note. |
Only Quantity can be required. All the other fields are optional.

6. Mark the specimen as collected
Select Mark as collected.
Care saves the specimen as collected, with you as the collector. Care shows "Specimen Collected" and closes the form.
To close the form without collecting the specimen, select Cancel. You can also select the card header above the form.


7. Print the labels
When no form is open, the specimen section heading shows Print All QR Codes.
Select Print All QR Codes.
Care first creates a draft specimen for each requirement that has no draft or collected specimen. Then it opens the Print QR Codes panel.
The panel lists the draft and collected specimens. All of them are selected at first.
To change the selection, select or clear the specimens. You can also use Select All and Clear Selection.
At Show patient details and specimen ID?, select Yes or No.
If you select Yes, each label also shows the specimen type, the definition title and the specimen ID. Care prints no patient details.
Select Print Selected.
The printed page has the title "QR Codes" and one QR code for each selected specimen. Its footer shows "Generated on:" and the date.
A label that you print from a draft carries the specimen ID of the draft. If you collect that draft with Generate QR, the specimen keeps the same specimen ID. So a label printed before collection matches the collected specimen.
To print one label, select Print QR code. It is on the Generate QR tab of the form and on the card of a collected specimen.

Expected Outcome
- The status of the specimen is Available. The card of the requirement shows "Collected specimen:", the title of the specimen definition and the Collected badge.
- The card header also shows Container Cap, Specimen, Collected by and Processing steps with the number of steps done. It also has the ⋮ menu.
- The card body shows the QR code of the specimen ID, with Print QR code.
- The card body also shows Specimen Collection Instructions and Specimen Collection. Under Collected Specimen Details, it shows Collector, Collected Time, Body Site, Quantity, Method and Fasting Status.
- When the page loads again, the card of a collected specimen starts closed. Select its header to open it.
- When every requirement has a collected specimen, the section heading reads Collected specimen.
- If you printed the labels, you have one label for each specimen that you selected.
| If you see | What it means | What to do |
|---|---|---|
| Collect Specimen or the collection form is disabled | The service request is not Draft or Active. The screen allows collecting, processing and discarding only in these two statuses. | Collect the specimen only while the service request is Draft or Active. |
| "Error loading service request or activity definition details." | Care could not load the service request or its activity definition. You may not hold "Can Read Service Request" or "Can Read Activity Definition" where this page needs them. The request may also have no activity definition. | Check the permissions on this page with your administrator. If the request has no activity definition, you cannot collect a specimen for it. |
| "Failed to create draft specimen" and a second message from the server | Care did not create the draft specimen. If the server's message is about permission, you lack "Can Create Specimen on Facility" where this flow needs it. That message reads "You do not have permission to create a specimen for this encounter". | Ask your administrator for this permission in the encounter's departments, or in a department of one of the request's locations. |
| "Failed to create draft specimen" after Print All QR Codes | Care did not create the drafts, and the panel does not open. Care shows a message from the server for each draft that the server refused. | Read the server's message. If it is about permission, ask your administrator for "Can Create Specimen on Facility". |
| "Failed to update specimen" and a second message from the server | Care did not save the specimen as collected. If the server's message is about permission, you lack "Can Create Specimen on Facility" where this flow needs it. That message reads "You do not have permission to write this specimen". A decimal in Fasting Duration (optional) also makes the save fail. | Ask your administrator for the permission, or enter a whole number of hours. Then select Mark as collected again. |
| "Draft specimen not created. Please try again." | The draft specimen was not ready when you selected Mark as collected. | |
| "Please enter a valid quantity" | The value in Quantity is not a whole number. | Enter a whole number. |
| "This field is required" at Quantity or Unit | You entered a value without a unit, or a unit without a value. The unit can come from the capacity of the container. | Enter both the value and the unit. |
Related
Concepts:
Flows: