# nikhilshirsath001/care_point_collection architecture

> Architecture diagram of the GitHub repository nikhilshirsath001/care_point_collection, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nikhilshirsath001/care_point_collection
- Repository: https://github.com/nikhilshirsath001/care_point_collection

## Overview

This repository is an OpenCollection API request collection for hospital and clinical workflows. Its principal user-facing capability is to let an API consumer submit requests for patient and admission records, treatment, procedures, medications and prescriptions, and billing; it also includes department, staff, and service operations. The YAML request files establish available operations, but no README or source excerpts document server behavior or links between domain stages, so those relationships are not inferred.

Main entry points: [`patient/create patient.yml`](https://github.com/nikhilshirsath001/care_point_collection/blob/main/patient/create%20patient.yml) (Create patient), [`patient/get patient by abha Id.yml`](https://github.com/nikhilshirsath001/care_point_collection/blob/main/patient/get%20patient%20by%20abha%20Id.yml) (Get patient by ABHA ID), [`patient/get patient by id.yml`](https://github.com/nikhilshirsath001/care_point_collection/blob/main/patient/get%20patient%20by%20id.yml) (Get patient by ID), [`admission/create admission.yml`](https://github.com/nikhilshirsath001/care_point_collection/blob/main/admission/create%20admission.yml) (Create admission)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_patient_admission["Patient and Admission"]
  node_patient_create["Create patient<br/>[create patient.yml]"]
  node_patient_abha["Get patient by ABHA ID"]
  node_patient_id["Get patient by ID"]
  node_admission_create["Create admission"]
end

subgraph group_care["Clinical Care"]
  node_treatment_create["Create treatment"]
  node_treatment_update["Update treatment"]
  node_treatment_admission["Treatments by admission"]
  node_treatment_doctor["Treatments by doctor"]
  node_treatment_procedure["Treatments by procedure"]
  node_treatment_id["Treatments by ID"]
  node_procedure_create["Create procedure"]
  node_procedure_list["List procedures"]
  node_procedure_get["Get procedure"]
  node_procedure_search["Search procedures"]
  node_procedure_update["Update procedure"]
end

subgraph group_medications["Medications"]
  node_medication_create["Create medication"]
  node_medication_list["List medications"]
  node_medication_get["Get medication"]
  node_prescription_create["Create prescription"]
  node_prescription_get["Get prescription"]
end

subgraph group_billing["Billing"]
  node_bill_create["Create bill<br/>[Create Bill.yml]"]
  node_bill_list["List bills<br/>[get all bills.yml]"]
  node_bill_id["Get bill by ID"]
  node_bill_no["Get bill by number"]
end

subgraph group_operations["Hospital Operations"]
  node_department_create["Create department"]
  node_staff_create["Create staff<br/>[create a staff.yml]"]
  node_service_category_create["Create service category"]
  node_service_create["Create service"]
end

node_consumer(("API consumer"))

node_consumer -->|"submits request"| node_patient_create
node_consumer -->|"submits request"| node_patient_abha
node_consumer -->|"submits request"| node_patient_id
node_consumer -->|"submits request"| node_admission_create
node_consumer -->|"submits request"| node_treatment_create
node_consumer -->|"submits request"| node_treatment_update
node_consumer -->|"submits request"| node_treatment_admission
node_consumer -->|"submits request"| node_treatment_doctor
node_consumer -->|"submits request"| node_treatment_procedure
node_consumer -->|"submits request"| node_treatment_id
node_consumer -->|"submits request"| node_procedure_create
node_consumer -->|"submits request"| node_procedure_list
node_consumer -->|"submits request"| node_procedure_get
node_consumer -->|"submits request"| node_procedure_search
node_consumer -->|"submits request"| node_procedure_update
node_consumer -->|"submits request"| node_medication_create
node_consumer -->|"submits request"| node_medication_list
node_consumer -->|"submits request"| node_medication_get
node_consumer -->|"submits request"| node_prescription_create
node_consumer -->|"submits request"| node_prescription_get
node_consumer -->|"submits request"| node_bill_create
node_consumer -->|"submits request"| node_bill_list
node_consumer -->|"submits request"| node_bill_id
node_consumer -->|"submits request"| node_bill_no
node_consumer -->|"submits request"| node_department_create
node_consumer -->|"submits request"| node_staff_create
node_consumer -->|"submits request"| node_service_category_create
node_consumer -->|"submits request"| node_service_create

click node_patient_create "https://github.com/nikhilshirsath001/care_point_collection/blob/main/patient/create%20patient.yml"
click node_patient_abha "https://github.com/nikhilshirsath001/care_point_collection/blob/main/patient/get%20patient%20by%20abha%20Id.yml"
click node_patient_id "https://github.com/nikhilshirsath001/care_point_collection/blob/main/patient/get%20patient%20by%20id.yml"
click node_admission_create "https://github.com/nikhilshirsath001/care_point_collection/blob/main/admission/create%20admission.yml"
click node_treatment_create "https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/create%20treatment.yml"
click node_treatment_update "https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/update%20treatment.yml"
click node_treatment_admission "https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/get%20treatment%20by%20admission%20id.yml"
click node_treatment_doctor "https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/get%20treatment%20by%20doctor%20id.yml"
click node_treatment_procedure "https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/get%20treatment%20by%20procedure%20id.yml"
click node_treatment_id "https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/get%20all%20treatment%20by%20treatment%20id.yml"
click node_procedure_create "https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/procedure/create%20procedure.yml"
click node_procedure_list "https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/procedure/get%20all%20procedures.yml"
click node_procedure_get "https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/procedure/get%20procedure%20by%20procedure%20id.yml"
click node_procedure_search "https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/procedure/search%20for%20procedure.yml"
click node_procedure_update "https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/procedure/update%20procedure.yml"
click node_medication_create "https://github.com/nikhilshirsath001/care_point_collection/blob/main/medication/mediacation/create%20medication.yml"
click node_medication_list "https://github.com/nikhilshirsath001/care_point_collection/blob/main/medication/mediacation/get%20all%20medications.yml"
click node_medication_get "https://github.com/nikhilshirsath001/care_point_collection/blob/main/medication/mediacation/get%20medication%20by%20medication%20id.yml"
click node_prescription_create "https://github.com/nikhilshirsath001/care_point_collection/blob/main/medication/prescription/create%20prescription.yml"
click node_prescription_get "https://github.com/nikhilshirsath001/care_point_collection/blob/main/medication/prescription/get%20prescription%20by%20prescription%20id.yml"
click node_bill_create "https://github.com/nikhilshirsath001/care_point_collection/blob/main/bill/Create%20Bill.yml"
click node_bill_list "https://github.com/nikhilshirsath001/care_point_collection/blob/main/bill/get%20all%20bills.yml"
click node_bill_id "https://github.com/nikhilshirsath001/care_point_collection/blob/main/bill/get%20bill%20by%20billId.yml"
click node_bill_no "https://github.com/nikhilshirsath001/care_point_collection/blob/main/bill/get%20bill%20by%20billNo.yml"
click node_department_create "https://github.com/nikhilshirsath001/care_point_collection/blob/main/department/Create%20department.yml"
click node_staff_create "https://github.com/nikhilshirsath001/care_point_collection/blob/main/staff/create%20a%20staff.yml"
click node_service_category_create "https://github.com/nikhilshirsath001/care_point_collection/blob/main/services/create%20%20service%20category.yml"
click node_service_create "https://github.com/nikhilshirsath001/care_point_collection/blob/main/services/create%20a%20service.yml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_patient_create,node_patient_abha,node_patient_id,node_admission_create toneBlue
class node_treatment_create,node_treatment_update,node_treatment_admission,node_treatment_doctor,node_treatment_procedure,node_treatment_id,node_procedure_create,node_procedure_list,node_procedure_get,node_procedure_search,node_procedure_update toneAmber
class node_medication_create,node_medication_list,node_medication_get,node_prescription_create,node_prescription_get,node_consumer toneMint
class node_bill_create,node_bill_list,node_bill_id,node_bill_no toneRose
class node_department_create,node_staff_create,node_service_category_create,node_service_create toneIndigo
```

## Components

### Patient and Admission

- [Create patient](https://github.com/nikhilshirsath001/care_point_collection/blob/main/patient/create%20patient.yml): `patient/create patient.yml`
- [Get patient by ABHA ID](https://github.com/nikhilshirsath001/care_point_collection/blob/main/patient/get%20patient%20by%20abha%20Id.yml): `patient/get patient by abha Id.yml`
- [Get patient by ID](https://github.com/nikhilshirsath001/care_point_collection/blob/main/patient/get%20patient%20by%20id.yml): `patient/get patient by id.yml`
- [Create admission](https://github.com/nikhilshirsath001/care_point_collection/blob/main/admission/create%20admission.yml): `admission/create admission.yml`

### Clinical Care

- [Create treatment](https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/create%20treatment.yml): `procedure/patient treatment/create treatment.yml`
- [Update treatment](https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/update%20treatment.yml): `procedure/patient treatment/update treatment.yml`
- [Treatments by admission](https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/get%20treatment%20by%20admission%20id.yml): `procedure/patient treatment/get treatment by admission id.yml`
- [Treatments by doctor](https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/get%20treatment%20by%20doctor%20id.yml): `procedure/patient treatment/get treatment by doctor id.yml`
- [Treatments by procedure](https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/get%20treatment%20by%20procedure%20id.yml): `procedure/patient treatment/get treatment by procedure id.yml`
- [Treatments by ID](https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/patient%20treatment/get%20all%20treatment%20by%20treatment%20id.yml): `procedure/patient treatment/get all treatment by treatment id.yml`
- [Create procedure](https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/procedure/create%20procedure.yml): `procedure/procedure/create procedure.yml`
- [List procedures](https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/procedure/get%20all%20procedures.yml): `procedure/procedure/get all procedures.yml`
- [Get procedure](https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/procedure/get%20procedure%20by%20procedure%20id.yml): `procedure/procedure/get procedure by procedure id.yml`
- [Search procedures](https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/procedure/search%20for%20procedure.yml): `procedure/procedure/search for procedure.yml`
- [Update procedure](https://github.com/nikhilshirsath001/care_point_collection/blob/main/procedure/procedure/update%20procedure.yml): `procedure/procedure/update procedure.yml`

### Medications

- [Create medication](https://github.com/nikhilshirsath001/care_point_collection/blob/main/medication/mediacation/create%20medication.yml): `medication/mediacation/create medication.yml`
- [List medications](https://github.com/nikhilshirsath001/care_point_collection/blob/main/medication/mediacation/get%20all%20medications.yml): `medication/mediacation/get all medications.yml`
- [Get medication](https://github.com/nikhilshirsath001/care_point_collection/blob/main/medication/mediacation/get%20medication%20by%20medication%20id.yml): `medication/mediacation/get medication by medication id.yml`
- [Create prescription](https://github.com/nikhilshirsath001/care_point_collection/blob/main/medication/prescription/create%20prescription.yml): `medication/prescription/create prescription.yml`
- [Get prescription](https://github.com/nikhilshirsath001/care_point_collection/blob/main/medication/prescription/get%20prescription%20by%20prescription%20id.yml): `medication/prescription/get prescription by prescription id.yml`

### Billing

- [Create bill](https://github.com/nikhilshirsath001/care_point_collection/blob/main/bill/Create%20Bill.yml): `bill/Create Bill.yml`
- [List bills](https://github.com/nikhilshirsath001/care_point_collection/blob/main/bill/get%20all%20bills.yml): `bill/get all bills.yml`
- [Get bill by ID](https://github.com/nikhilshirsath001/care_point_collection/blob/main/bill/get%20bill%20by%20billId.yml): `bill/get bill by billId.yml`
- [Get bill by number](https://github.com/nikhilshirsath001/care_point_collection/blob/main/bill/get%20bill%20by%20billNo.yml): `bill/get bill by billNo.yml`

### Hospital Operations

- [Create department](https://github.com/nikhilshirsath001/care_point_collection/blob/main/department/Create%20department.yml): `department/Create department.yml`
- [Create staff](https://github.com/nikhilshirsath001/care_point_collection/blob/main/staff/create%20a%20staff.yml): `staff/create a staff.yml`
- [Create service category](https://github.com/nikhilshirsath001/care_point_collection/blob/main/services/create%20%20service%20category.yml): `services/create service category.yml`
- [Create service](https://github.com/nikhilshirsath001/care_point_collection/blob/main/services/create%20a%20service.yml): `services/create a service.yml`

### Other components

- **API consumer**

## Connections

- API consumer → Create patient: submits request
- API consumer → Get patient by ABHA ID: submits request
- API consumer → Get patient by ID: submits request
- API consumer → Create admission: submits request
- API consumer → Create treatment: submits request
- API consumer → Update treatment: submits request
- API consumer → Treatments by admission: submits request
- API consumer → Treatments by doctor: submits request
- API consumer → Treatments by procedure: submits request
- API consumer → Treatments by ID: submits request
- API consumer → Create procedure: submits request
- API consumer → List procedures: submits request
- API consumer → Get procedure: submits request
- API consumer → Search procedures: submits request
- API consumer → Update procedure: submits request
- API consumer → Create medication: submits request
- API consumer → List medications: submits request
- API consumer → Get medication: submits request
- API consumer → Create prescription: submits request
- API consumer → Get prescription: submits request
- API consumer → Create bill: submits request
- API consumer → List bills: submits request
- API consumer → Get bill by ID: submits request
- API consumer → Get bill by number: submits request
- API consumer → Create department: submits request
- API consumer → Create staff: submits request
- API consumer → Create service category: submits request
- API consumer → Create service: submits request
