Skip to content

Commit 785368f

Browse files
committed
Initial commit with dummy content
0 parents  commit 785368f

63 files changed

Lines changed: 22235 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
name: Build Docusaurus
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
cache: npm
20+
- name: Install dependencies
21+
run: npm ci
22+
- name: Build website
23+
run: npm run build
24+
- name: Upload Build Artifact
25+
uses: actions/upload-pages-artifact@v3
26+
with:
27+
path: build
28+
29+
deploy:
30+
name: Deploy to GitHub Pages
31+
needs: build
32+
permissions:
33+
pages: write
34+
id-token: write
35+
environment:
36+
name: github-pages
37+
url: ${{ steps.deployment.outputs.page_url }}
38+
runs-on: ubuntu-latest
39+
steps:
40+
- name: Deploy to GitHub Pages
41+
id: deployment
42+
uses: actions/deploy-pages@v4

.github/workflows/test-deploy.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Test deployment
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
test-deploy:
10+
name: Test deployment
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
cache: npm
20+
- name: Install dependencies
21+
run: npm ci
22+
- name: Test build website
23+
run: npm run build

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Dependencies
2+
/node_modules
3+
4+
# Production
5+
/build
6+
7+
# Generated files
8+
.docusaurus
9+
.cache-loader
10+
11+
# Misc
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
18+
npm-debug.log*
19+
yarn-debug.log*
20+
yarn-error.log*

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Website
2+
3+
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
4+
5+
## Installation
6+
7+
```bash
8+
yarn
9+
```
10+
11+
## Local Development
12+
13+
```bash
14+
yarn start
15+
```
16+
17+
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
18+
19+
## Build
20+
21+
```bash
22+
yarn build
23+
```
24+
25+
This command generates static content into the `build` directory and can be served using any static contents hosting service.
26+
27+
## Deployment
28+
29+
Using SSH:
30+
31+
```bash
32+
USE_SSH=true yarn deploy
33+
```
34+
35+
Not using SSH:
36+
37+
```bash
38+
GIT_USER=<Your GitHub username> yarn deploy
39+
```
40+
41+
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.

blog/authors.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
vigneshhari:
2+
name: Vignesh Hari
3+
title: Engineer @ OHC
4+
url: https://linkedin.com/in/vigneshhari
5+
image_url: https://github.com/vigneshhari
6+
page: true
7+
socials:
8+
linkedin: vigneshhari
9+
github: vigneshhari

blog/tags.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
productdoc:
2+
label: Product Documentation
3+
permalink: /product
4+
description: Product Documentation

concepts/_category_.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"label": "Concepts",
3+
"position": 2,
4+
"link": {
5+
"type": "generated-index",
6+
"title": "Concepts",
7+
"description": "Understand what things are in Care. Each concept answers a \"What is…?\" question about the platform, its data model, or clinical primitives."
8+
}
9+
}

concepts/clinical/_category_.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"label": "Clinical",
3+
"position": 1
4+
}

concepts/clinical/patient.mdx

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
sidebar_position: 1
3+
---
4+
5+
# Patient
6+
7+
A **patient** in Care is a person who receives care through your facility or program. It is the longitudinal anchor for clinical documentation — every encounter, observation, order, and care plan links back to a patient record.
8+
9+
## What it represents
10+
11+
In Care's FHIR-aligned model, a patient maps to the **Patient** resource. It holds:
12+
13+
- **Identity** — name, date of birth, sex, photo, and government or facility identifiers
14+
- **Contact** — phone, address, and emergency contacts
15+
- **Administrative context** — registration status, facility association, and tags used by your deployment
16+
- **Clinical linkage** — references to encounters, conditions, allergies, and other resources in the record
17+
18+
A patient is not the same as a single visit. One patient can have many encounters over time; the patient record is the container that makes that history coherent.
19+
20+
## Identifiers
21+
22+
Patients are located using one or more identifiers, depending on how your deployment is configured:
23+
24+
| Identifier type | Typical use |
25+
| --- | --- |
26+
| Facility MRN | Primary key inside a hospital or clinic |
27+
| National health ID | ABDM, ABHA, or other national rails |
28+
| Program ID | Public health or campaign-specific registries |
29+
30+
Identifiers must be unique within the scope your administrator defines. Duplicate detection during registration uses these fields.
31+
32+
## Lifecycle
33+
34+
```
35+
Register → Active → (optional) Inactive / Deceased
36+
```
37+
38+
- **Register** — a patient record is created with minimum demographics
39+
- **Active** — the record is used for encounters and orders
40+
- **Inactive** — retained for history but hidden from routine search (configurable)
41+
- **Deceased** — administrative closure; clinical history remains auditable
42+
43+
## Permissions
44+
45+
Who can view or edit patient demographics is controlled by role-based access. Clinical staff typically can read full records; registration staff can create and update demographics; some fields may be restricted by facility or ward.
46+
47+
## Related
48+
49+
- Flow: [Create a patient](../../flows/clinical/create-patient.mdx)
50+
- Playbook: [Outpatient registration](/deployments/hmis/playbooks/outpatient-registration) (HMIS)
51+
52+
## FHIR reference
53+
54+
Care exposes patients through FHIR R5 `Patient` resources. See your deployment's API base URL for `GET /Patient` and `POST /Patient` when integrating externally.

deployments/hmis/intro.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
sidebar_position: 1
3+
slug: /
4+
---
5+
6+
# HMIS playbooks
7+
8+
Hospital management playbooks wire **flows** into real front-desk and ward scenarios. Each playbook lists the flows involved, the expected operator path, and edge cases specific to HMIS deployments.
9+
10+
## How playbooks relate to core docs
11+
12+
| Layer | Location | Example |
13+
| --- | --- | --- |
14+
| Concept | [Core docs](/docs/concepts/clinical/patient) | What is a patient? |
15+
| Flow | [Core docs](/docs/flows/clinical/create-patient) | How do I create a patient? |
16+
| Playbook | Here | Outpatient registration with duplicates and walk-ins |
17+
18+
Start from the [documentation home](/docs/intro) if you are new to this structure.

0 commit comments

Comments
 (0)