Skip to content

Add Allergy, Condition and medication record docs for 3.1 - #82

Merged
aravindm4 merged 1 commit into
mainfrom
docs/clinical-modules
Aug 12, 2026
Merged

Add Allergy, Condition and medication record docs for 3.1#82
aravindm4 merged 1 commit into
mainfrom
docs/clinical-modules

Conversation

@aravindm4

Copy link
Copy Markdown
Member

What

Publishes five clinical modules from care_docs into the docs site (version 3.1). 19 flows and 5 refreshed concepts.

Under Flows > Clinical

Module Flows
Allergy Intolerance record, update, mark as entered in error, view history
Condition record a symptom, record a diagnosis, add from past records, update, mark as entered in error, view clinical history

Under Flows > Medications

Module Flows
Medication Administration administer a dose, view the record, update a record
Medication Dispense dispense a medication, view dispense history
Medication Statement record, view for an encounter, update, mark as entered in error

All five concepts are replaced with the authored versions.

Module naming

The care_docs folders are all under Clinical/, but four of these modules were retargeted so they land on the pages the site already has rather than creating near-duplicates:

care_docs folder Published as
Clinical/Allergy concepts/clinical/allergy-intolerance
Clinical/Medication Statement concepts/medications/medication-statement
Clinical/Medicine Administration concepts/medications/medication-administration
Clinical/Medicine Dispense concepts/medications/medication-dispense

This matches Medication Request, which already sits under the medications domain. Concept titles follow the existing page names, so "Medicine Administration" becomes "Medication Administration".

Flow titles were converted from "How to Record an Allergy" to "Record an allergy", matching the other modules.

Note for reviewers

All five concepts are replaced, not extended. Worth confirming nothing needed is lost from the previous versions.

Verification

Docusaurus build passes for both en and ml locales.

Publish the Allergy Intolerance and Condition modules under Clinical,
and the Medication Administration, Medication Dispense and Medication
Statement modules under Medications, from the care_docs sources.
Refreshes the five concepts and adds nineteen flows.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying coredocs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4a9799f
Status: ✅  Deploy successful!
Preview URL: https://529b77f0.coredocs.pages.dev
Branch Preview URL: https://docs-clinical-modules.coredocs.pages.dev

View logs

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Threat Detection Engine Failure — The analysis engine could not complete. This is a tooling failure, not a security finding.

What happened

The threat detection results could not be parsed.

Review the workflow run logs for details.

Generated by Docs Reviewer for #82 · opus50 · 192.1 AIC · ⊞ 11K

Comment on lines +102 to +104
## FHIR R5 alignment

- Reference: [Allergy Intolerance (technical)](../../references/clinical/allergy-intolerance.mdx)
- Concept: [Patient](../clinical/patient)
- Concept: [Encounter](../clinical/encounter.mdx)
- Concept: [Condition](../clinical/condition.mdx)
- Concept: [Observation](../clinical/observation.mdx)
Care follows FHIR R5 for allergies. The substance, the category, the criticality, the verification status, the clinical status, the last occurrence, and the note map to the FHIR AllergyIntolerance resource.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checklist item 7 (and the concept template) forbid narrating the FHIR mapping: "Link the FHIR page, but never narrate the mapping. Do not write 'as per FHIR' or 'this maps to the FHIR X resource'. The link is enough." The ## FHIR R5 alignment section is also not a template section — the concept template's sections are Definition, Key Attributes, optional conceptual sections, Permissions, Related. Please delete this whole section; the FHIR link already in the Definition covers it.

Comment on lines +92 to +94
## FHIR R5 alignment

Roles are granted to users through facility, organization, or patient memberships, and they cascade down the organization tree — a role held high in the hierarchy applies to the facilities and patients beneath it.
Care follows FHIR R5 for conditions. The clinical term, the status, the verification, the severity, the category, the onset date, and the note map to the FHIR Condition resource.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same FHIR narration problem as allergy-intolerance.mdx: checklist item 7 says the link is enough and "this maps to the FHIR X resource" must go. ## FHIR R5 alignment is also not one of the concept template's sections. Delete the section — the FHIR link in the Definition already carries the alignment.

Comment on lines +57 to +58
| Can Read Supply Delivery | View a Dispense Order. Facility Admin, Administrator, Admin, Staff, Doctor, Nurse, Volunteer, and Pharmacist hold this permission. |
| Can Create Supply Delivery on Facility | Create or change a Dispense Order. Only Facility Admin and Admin hold this permission. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two rows conflate a medication dispense with Supply Delivery permissions, and the role lists here ("Only Facility Admin and Admin") need tracing to the real SupplyDeliveryPermissions definitions in care/security/permissions/ before publishing. Per checklist item 16, please cite the source or drop the claim — I could not locate a medication_dispense.py permissions module to verify "Medication Dispense Read" / "Write Medication Dispense" display names either.

→ stopped
→ not_done
```
## Status

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Template conformance (checklist item 8): in the concept template Status is a ### sub-section of Key Attributes, not a top-level ##. The same page keeps ### Changes after you save at H3, so this H2 also breaks the section order. Change to ### Status and move it under Key Attributes. medication-dispense.mdx and medication-statement.mdx have the same ## Status issue.

## Definition

## What it represents
A **[medicine administration](https://build.fhir.org/medicationadministration.html)** in Care

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Terminology (checklist item 14): the page H1 is "Medication Administration" but the body, the Related links and the flows call it "Medicine Administration" (see administer-dose.mdx line 92, and "Medicine Dispense" in dispense-medication.mdx line 91 against the "Medication Dispense" page title). Pick one term — the PR description says titles follow the existing page names, so use "medication administration" / "medication dispense" throughout.


| Permission | Access |
| --- | --- |
| Write Medication Dispense | Lets you dispense a medicine or supply item. Held by Facility Admin, Admin, Staff, Doctor, Nurse, and Pharmacist. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The flow template's Permissions table is Permission | Access — what the permission lets the reader do. Appending the role list ("Held by Facility Admin, Admin, Staff, Doctor, Nurse, and Pharmacist") duplicates the concept page and is unverified here. Suggest: | Write Medication Dispense | Lets you dispense a medicine or supply item. |

Care follows FHIR R5 for allergies. The substance, the category, the criticality, the verification status, the clinical status, the last occurrence, and the note map to the FHIR AllergyIntolerance resource.

## FHIR reference
## Related

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Related section drops the reference link that the previous version carried, and the concept template lists a Reference: line. versioned_docs/version-3.1/references/clinical/allergy-intolerance.mdx exists — please re-add - Reference: [Allergy Intolerance](../../references/clinical/allergy-intolerance.mdx). The same link was dropped in condition.mdx, medication-administration.mdx, medication-dispense.mdx and medication-statement.mdx, and all four reference pages exist.

---

# Allergy & Intolerance
# Allergy Intolerance

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming (checklist item 9): H1 is sentence case, so this should be # Allergy intolerance. The same applies to the new headings on the medication concept pages (# Medication Administration, etc.) where the diff touches them.

@aravindm4
aravindm4 merged commit 525db8a into main Aug 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant