RSIA MELINDA DHAI KEDIRIMaternal & Child Healthcare · Public Hospital Portal |
The public website for RSIA Melinda DHAI Kediri, a maternal and child hospital in Kediri, East Java. Architected and built by dr. Ferdi Iskandar (the Gaffer) · Sentra Artificial Intelligence |
RSIA Melinda DHAI Kediri is a maternal and child hospital at Jl. Balowerti II No. 59, Kota Kediri, East Java. According to the data in this repository, it was established on 6 June 2001 and its legal entity is PT. Adianda Melinda Putri Iskandar.
This repository holds the hospital's public portal. It brings institutional information, clinician profiles, services, facilities, educational resources, and contact and referral routes together on one responsive website.
The application is the healthcare/melindasite capsule. It handles public information and navigation, and it does not operate the hospital's clinical or administrative core systems.
Information about the hospital is spread across service descriptions, clinician schedules, facility information, educational material, contact channels, and referral instructions. The portal gathers these on one site that visitors can navigate. Clinical decisions and patient care stay with the people responsible for them.
- Patients and families looking for hospital, service, facility, and clinician information.
- Pregnant women, parents, and caregivers who want maternal and child health education.
- Midwives, doctors, clinics, and puskesmas preparing a referral or contacting the receiving hospital.
- Members of the public looking for admission, emergency, BPJS, and contact information.
- Institutional profile, history, leadership, location, and contact information.
- Clinician directory, clinician profiles, and practice-schedule information.
- Centers of Excellence, hospital facilities, inpatient-room information, and care packages.
- Maternal-child educational articles and public hospital news.
- BPJS and insurance information.
- Fast referral pre-notification and WhatsApp-based admission/contact handoffs.
- Optional Google Places review retrieval and optional MelindaOS public-news feed integration.
- Electronic medical records (EMR), clinical documentation, or patient-record storage.
- A hospital information system (SIMRS), billing engine, or financial transaction platform.
- A real-time appointment inventory or confirmed appointment-booking engine.
- Automated diagnosis, treatment recommendation, clinical triage, or autonomous medical decision-making.
- A replacement for direct emergency communication with the hospital.
- The MelindaOS staff workspace itself. The staff portal is a separate service at
https://melindaos.app.
Note
The figures below come from the content and institutional data checked into this repository. None of them is a live reading of occupancy, staffing, appointments, or service availability.
| Repository evidence | Content represented |
|---|---|
| Institution profile | Founded 6 June 2001; 42 inpatient beds; 20 neonatal boxes; 2 NICU beds. |
| Clinician directory | 11 clinician records with explicit KB, SK, or provisional WhatsApp-confirmation states. |
| Clinical units | 8 Centers of Excellence and clinical units. |
| Care catalogue | 13 medical-check-up packages and flagship programmes. |
| Inpatient information | 8 room classes, from VIP to Kelas 3 KRIS, with neonatal and NICU information. |
| Education | 6 maternal-child educational articles documented as doctor-reviewed. |
| Public news | 4 local news records in the repository data module. |
| Insurance information | 12 AdMedika partner entries in the institutional content dataset. |
| Media | 130 local hospital media assets recorded in capsule context. |
|
|
|
|
Product objective: Give patients, families, and referring professionals one public point of access to the hospital. Clinical care, emergency response, and institutional operations stay in human hands.
Important
The portal presents and organizes information and routes messages to the hospital. It does not diagnose, prescribe, or triage on its own, and it does not replace a clinician or hospital operator.
|
|
|
|
|
|
|
|
|
PRODUCT TOPOLOGY // PUBLIC EXPERIENCE & HUMAN BOUNDARY
%%{init: {"flowchart": {"htmlLabels": false, "padding": 20}, "themeVariables": {"fontFamily": "monospace", "fontSize": "11px"}}}%%
flowchart TB
VISITOR["PATIENT / FAMILY / REFERRER"]
PORTAL["RSIA MELINDA PUBLIC PORTAL"]
ROUTES["NEXT.JS APP ROUTER"]
CONTENT["LOCAL TYPED CONTENT"]
OPTIONAL["OPTIONAL EXTERNAL INTEGRATIONS"]
HANDOFF["WHATSAPP CONTACT / REFERRAL"]
TEAM["HOSPITAL STAFF / CLINICIAN"]
SAFETY["NON-DIAGNOSTIC INFORMATION BOUNDARY"]
STAFFPORTAL["SEPARATE MELINDAOS STAFF PORTAL"]
VISITOR --> PORTAL
PORTAL --> ROUTES
ROUTES --> CONTENT
ROUTES --> OPTIONAL
ROUTES --> SAFETY
SAFETY --> HANDOFF
HANDOFF --> TEAM
TEAM --> VISITOR
PORTAL -. separate service link .-> STAFFPORTAL
classDef authority fill:#0D1117,stroke:#F59E0B,color:#ffffff,stroke-width:2px;
classDef agent fill:#0D1117,stroke:#8B5CF6,color:#ffffff,stroke-width:2px;
classDef control fill:#0D1117,stroke:#14B8A6,color:#ffffff,stroke-width:2px;
classDef core fill:#0D1117,stroke:#5B8CFF,color:#ffffff,stroke-width:2px;
classDef surface fill:#0D1117,stroke:#22D3EE,color:#ffffff,stroke-width:1.5px;
classDef shared fill:#0D1117,stroke:#64748B,color:#ffffff,stroke-width:1.5px;
classDef danger fill:#0D1117,stroke:#EF4444,color:#ffffff,stroke-width:2px;
classDef data fill:#0D1117,stroke:#0EA5E9,color:#ffffff,stroke-width:1.5px;
class VISITOR,TEAM authority;
class PORTAL,HANDOFF surface;
class ROUTES core;
class CONTENT data;
class OPTIONAL agent;
class SAFETY control;
class STAFFPORTAL shared;
|
|
|
|
|
|
|
|
|
| Route | Responsibility |
|---|---|
/ |
Homepage, hospital highlights, search entry points, and selected news. |
/cari-dokter |
Clinician directory and specialty search. |
/jadwal-dokter |
Clinician practice schedules. |
/dokter/[slug] |
Individual clinician profile. |
/pusat-unggulan |
Centers of Excellence directory. |
/pusat-unggulan/[slug] |
Clinical unit detail. |
/nest |
Maternal and child care experience page. |
/mcu |
MCU, services, and programme catalogue. |
/mcu/paket/[slug] |
Individual care package or programme detail. |
/rumah-sakit |
Hospital facilities and inpatient information. |
/rumah-sakit/[slug] |
Facility or unit detail. |
/tentang-kami |
Institutional profile, history, vision, mission, and leadership. |
/berita |
Hospital news index. |
/berita/[slug] |
Individual news item. |
/informasi-siloam/artikel |
Maternal-child educational article index. |
/informasi-siloam/artikel/[slug] |
Individual educational article. |
/bpjs |
BPJS information. |
/mysiloam |
External patient-service navigation page. |
/rujukan-cepat |
Fast referral pre-notification form. |
/cerita-pasien |
Patient-story surface. |
/faqs |
Frequently asked questions. |
/hubungi-kami |
Hospital contact information. |
/api/google-reviews |
Google Places review adapter with curated fallback. |
| Capability | Status | Repository evidence | Boundary |
|---|---|---|---|
| Institution profile and public pages | 🟢 IMPLEMENTED | src/data/hospitals.ts, src/app/ |
Repository content; not a live hospital operations feed. |
| Clinician directory and schedules | 🟢 IMPLEMENTED | src/data/doctors.ts; verification badges are explicit. |
Schedule changes require confirmation through the hospital. |
| Centers of Excellence and care catalogue | 🟢 IMPLEMENTED | src/data/coe.ts, src/data/mcu.ts |
Published catalogue does not guarantee real-time capacity. |
| Educational articles | 🟢 IMPLEMENTED | src/data/articles.ts |
Educational and non-diagnostic. |
| Local hospital news | 🟢 IMPLEMENTED | src/data/news.ts |
Four local records are checked in. |
| MelindaOS public-news feed | 🟡 CONFIGURED / UPSTREAM UNVERIFIED | src/lib/news.ts, src/lib/news-feed.ts |
Requires the upstream feed endpoint and environment variable. |
| Google Places reviews | 🟡 CONFIGURED / OPTIONAL | src/app/api/google-reviews/route.ts |
Requires both Google environment variables; curated fallback remains available. |
| Fast referral | 🟢 IMPLEMENTED | src/components/hospital/FastReferralClient.tsx |
Opens WhatsApp; does not record or confirm referral acceptance. |
| Production deployment | 🔴 UNVERIFIED | No deployment result is asserted by this README. | Requires environment-specific release and live smoke checks. |
|
|
|
|
RUNTIME TOPOLOGY // CONTROL & DATA PLANE
%%{init: {"flowchart": {"htmlLabels": false, "padding": 20}, "themeVariables": {"fontFamily": "monospace", "fontSize": "11px"}}}%%
flowchart TB
HUMAN["PUBLIC VISITOR"]
UI["BROWSER / RESPONSIVE UI"]
APP["NEXT.JS APP ROUTER"]
DATA["TYPED LOCAL DATA"]
REVIEWS["GOOGLE REVIEWS ROUTE"]
GOOGLE["GOOGLE PLACES API"]
NEWS["NEWS ADAPTER"]
MELINDAOS["MELINDAOS PUBLIC FEED"]
WA["WHATSAPP HANDOFF"]
TEAM["HOSPITAL RECEIVING TEAM"]
FALLBACK["CURATED / LOCAL FALLBACK"]
CACHE["NEWS CACHE / VALIDATION"]
HUMAN --> UI
UI --> APP
APP --> DATA
APP --> REVIEWS
REVIEWS --> GOOGLE
REVIEWS -. unavailable / insufficient data .-> FALLBACK
APP --> NEWS
NEWS --> CACHE
CACHE --> MELINDAOS
NEWS -. no URL / feed failure .-> FALLBACK
APP --> WA
WA --> TEAM
classDef authority fill:#0D1117,stroke:#F59E0B,color:#ffffff,stroke-width:2px;
classDef agent fill:#0D1117,stroke:#8B5CF6,color:#ffffff,stroke-width:2px;
classDef control fill:#0D1117,stroke:#14B8A6,color:#ffffff,stroke-width:2px;
classDef core fill:#0D1117,stroke:#5B8CFF,color:#ffffff,stroke-width:2px;
classDef surface fill:#0D1117,stroke:#22D3EE,color:#ffffff,stroke-width:1.5px;
classDef shared fill:#0D1117,stroke:#64748B,color:#ffffff,stroke-width:1.5px;
classDef danger fill:#0D1117,stroke:#EF4444,color:#ffffff,stroke-width:2px;
classDef data fill:#0D1117,stroke:#0EA5E9,color:#ffffff,stroke-width:1.5px;
class HUMAN,TEAM authority;
class UI,WA surface;
class APP core;
class DATA,FALLBACK data;
class REVIEWS,NEWS agent;
class CACHE control;
class GOOGLE,MELINDAOS shared;
Melinda/
├── AGENTS.md
├── CLAUDE.md
├── README.md
├── project.contract.json
├── package.json
├── pnpm-lock.yaml
├── pnpm-workspace.yaml
├── biome.jsonc
├── next.config.ts
├── tsconfig.json
├── .env.example
├── docs/
│ ├── architecture.md
│ ├── data.md
│ ├── easyui-component-mapping.md
│ └── testing.md
├── public/
│ └── media/
│ ├── brand/
│ ├── doctors/
│ ├── facilities/
│ ├── hero/
│ ├── rooms/
│ ├── blog/
│ ├── news/
│ └── archive/
├── scripts/
│ ├── pnpm.mjs
│ └── deploy-dry-run.mjs
├── src/
│ ├── app/
│ │ ├── api/google-reviews/route.ts
│ │ ├── berita/ and berita/[slug]/
│ │ ├── bpjs/
│ │ ├── cari-dokter/ and jadwal-dokter/
│ │ ├── cerita-pasien/ and faqs/
│ │ ├── dokter/[slug]/
│ │ ├── hubungi-kami/
│ │ ├── informasi-siloam/artikel/ and artikel/[slug]/
│ │ ├── mcu/ and mcu/paket/[slug]/
│ │ ├── mysiloam/ and nest/
│ │ ├── pusat-unggulan/ and pusat-unggulan/[slug]/
│ │ ├── rujukan-cepat/
│ │ ├── rumah-sakit/ and rumah-sakit/[slug]/
│ │ ├── tentang-kami/
│ │ ├── page.tsx
│ │ ├── layout.tsx
│ │ ├── globals.css
│ │ ├── robots.ts
│ │ └── sitemap.ts
│ ├── components/
│ │ ├── easyui/
│ │ ├── home/
│ │ ├── hospital/
│ │ └── layout/
│ ├── data/
│ │ ├── hospitals.ts
│ │ ├── doctors.ts
│ │ ├── coe.ts
│ │ ├── mcu.ts
│ │ ├── articles.ts
│ │ ├── news.ts
│ │ └── reviews.ts
│ └── lib/
│ ├── news.ts
│ └── news-feed.ts
└── tests/
├── fixtures/
├── legacy-redirects.test.mjs
├── melinda-ssot-and-ui.test.mjs
├── melindaos-portal-link.test.mjs
├── news-feed.test.mjs
└── siloam-portal.test.mjs
src/app/owns route composition, page metadata, the sitemap, robots output, and the Google reviews API route.src/data/owns the typed local content datasets used by the public portal.src/components/contains local UI, hospital-specific, homepage, and layout components.src/lib/contains server-side news retrieval, validation, fallback, and mapping logic.public/media/contains local visual assets. The product logo used by this README ispublic/media/brand/logo-melinda.webp.docs/records architecture, data behavior, component mapping, and testing.project.contract.jsondeclares the capsule lifecycle commands and local smoke-test contract.
A request to the public portal follows a short path. A visitor opens a public route, and the application reads its local typed content. Optional integrations are called only when they are configured. The page then shows the information together with a way to reach a person at the hospital.
%%{init: {"flowchart": {"htmlLabels": false, "padding": 20}, "themeVariables": {"fontFamily": "monospace", "fontSize": "11px"}}}%%
flowchart TB
VISITOR["VISITOR INTENT"]
ROUTE["PUBLIC PAGE / SEARCH"]
NORMALIZE["ROUTE PARAMS / FILTERS"]
CONTENT["LOCAL DOMAIN DATA"]
OPTIONAL["OPTIONAL EXTERNAL DATA"]
SAFETY["NON-DIAGNOSTIC / FALLBACK CHECK"]
DISPLAY["INFORMATION DISPLAY"]
CONTACT["WHATSAPP / PHONE HANDOFF"]
HUMAN["HUMAN HOSPITAL RESPONSE"]
ESCALATE["DIRECT EMERGENCY PHONE"]
VISITOR --> ROUTE
ROUTE --> NORMALIZE
NORMALIZE --> CONTENT
NORMALIZE --> OPTIONAL
CONTENT --> SAFETY
OPTIONAL --> SAFETY
SAFETY --> DISPLAY
DISPLAY --> CONTACT
CONTACT --> HUMAN
VISITOR -. urgent emergency .-> ESCALATE
classDef authority fill:#0D1117,stroke:#F59E0B,color:#ffffff,stroke-width:2px;
classDef agent fill:#0D1117,stroke:#8B5CF6,color:#ffffff,stroke-width:2px;
classDef control fill:#0D1117,stroke:#14B8A6,color:#ffffff,stroke-width:2px;
classDef core fill:#0D1117,stroke:#5B8CFF,color:#ffffff,stroke-width:2px;
classDef surface fill:#0D1117,stroke:#22D3EE,color:#ffffff,stroke-width:1.5px;
classDef danger fill:#0D1117,stroke:#EF4444,color:#ffffff,stroke-width:2px;
classDef data fill:#0D1117,stroke:#0EA5E9,color:#ffffff,stroke-width:1.5px;
class VISITOR,HUMAN authority;
class ROUTE,DISPLAY,CONTACT surface;
class NORMALIZE,CONTENT core;
class OPTIONAL agent;
class SAFETY control;
class ESCALATE danger;
- The portal can display information and prepare a communication handoff.
- Opening or sending a WhatsApp message does not prove that the hospital has received, accepted, or acted on a referral.
- The fast-referral page states that it is a preliminary, non-diagnostic notification form.
- In an urgent emergency, the page tells the visitor to call the hospital's 24-hour IGD number while the patient is being transported.
- Diagnosis, triage, treatment, admission decisions, and clinical prioritization remain the responsibility of human clinicians.
| Requirement | Version / value |
|---|---|
| Node.js | 24.x (>=24 <25) |
| Package manager | pnpm 11.21.0 |
| Application framework | Next.js 16.3.8 |
| Development port | 4350 |
| Runtime database | Not required by the documented baseline architecture. |
node scripts/pnpm.mjs install --frozen-lockfilenode scripts/pnpm.mjs run devOpen http://localhost:4350.
node scripts/pnpm.mjs run build
node scripts/pnpm.mjs run startThe production start script binds to 127.0.0.1:4350.
| Variable / file | Required | Scope | Safe description |
|---|---|---|---|
MELINDAOS_NEWS_FEED_URL |
No | Server | Optional URL for the MelindaOS public-news v1 feed. If it is unset, the site uses the local news dataset. |
GOOGLE_PLACES_API_KEY |
No | Server | Google Places API key. Required together with the Place ID for live review retrieval. |
GOOGLE_PLACE_ID |
No | Server | Google Place identifier. Required together with the API key for live review retrieval. |
.env.example |
Reference | Local environment | Lists the three supported environment variables without embedding credentials. |
Warning
Keep API credentials on the server. Never put these values in NEXT_PUBLIC_* variables, source code, commits, screenshots, or logs.
node scripts/pnpm.mjs run lint
node scripts/pnpm.mjs run typecheck
node scripts/pnpm.mjs run test
node scripts/pnpm.mjs run build
node scripts/pnpm.mjs run deploy:dry-run
node scripts/pnpm.mjs run checkcheck runs lint, typecheck, tests, and build in sequence. deploy:dry-run requires a completed production build.
|
|
|
|
|
|
|
|
|
%%{init: {"flowchart": {"htmlLabels": false, "padding": 20}, "themeVariables": {"fontFamily": "monospace", "fontSize": "11px"}}}%%
flowchart LR
SOURCE["SOURCE CHANGE"]
INSTALL["FROZEN INSTALL"]
CHECKS["LINT / TYPE / TEST"]
BUILD["PRODUCTION BUILD"]
DRYRUN["DEPLOY DRY-RUN"]
REVIEW["RELEASE REVIEW"]
TARGET["DEPLOYMENT TARGET"]
LIVE["LIVE SMOKE TEST"]
UNKNOWN["DEPLOYMENT NOT VERIFIED"]
ROLLBACK["ROLLBACK PLAN"]
SOURCE --> INSTALL
INSTALL --> CHECKS
CHECKS --> BUILD
BUILD --> DRYRUN
DRYRUN --> REVIEW
REVIEW --> TARGET
TARGET --> LIVE
TARGET -. target / release evidence absent .-> UNKNOWN
LIVE -. failure .-> ROLLBACK
classDef core fill:#0D1117,stroke:#5B8CFF,color:#ffffff,stroke-width:2px;
classDef control fill:#0D1117,stroke:#14B8A6,color:#ffffff,stroke-width:2px;
classDef authority fill:#0D1117,stroke:#F59E0B,color:#ffffff,stroke-width:2px;
classDef success fill:#0D1117,stroke:#10B981,color:#ffffff,stroke-width:2px;
classDef danger fill:#0D1117,stroke:#EF4444,color:#ffffff,stroke-width:2px;
class SOURCE,INSTALL,BUILD core;
class CHECKS,DRYRUN control;
class REVIEW authority;
class LIVE success;
class TARGET,UNKNOWN danger;
class ROLLBACK danger;
| Gate | Command | Scope | Expected evidence |
|---|---|---|---|
| Lint | node scripts/pnpm.mjs run lint |
Source, scripts, tests | Biome exits 0. |
| Typecheck | node scripts/pnpm.mjs run typecheck |
TypeScript project | tsc --noEmit exits 0. |
| Tests | node scripts/pnpm.mjs run test |
Node test suites | All tests pass, including data integrity and route behavior. |
| Build | node scripts/pnpm.mjs run build |
Next.js production compilation | Production build exits 0. |
| Deploy dry-run | node scripts/pnpm.mjs run deploy:dry-run |
Built static JavaScript artifacts | .next/BUILD_ID exists and the script detects none of its configured server-only secret-name markers in static JavaScript. |
| Combined check | node scripts/pnpm.mjs run check |
Lint, typecheck, tests, build | All four stages exit 0. |
Caution
The fast-referral form is a preliminary communication aid. It is not an emergency dispatch system or a clinical triage system. Never infer a high-impact clinical decision from a website form submission or from automated page output.
| Interrogation | Required answer |
|---|---|
| What specific problem does this solve? | Public access to hospital information, a way to find clinicians and understand services, and a faster first contact for referrals. |
| Who owns final authority? | People at the hospital. Clinicians make the clinical decisions, and authorized hospital staff handle the operational response. |
| What is outside scope? | Patient-record management, diagnosis, treatment, autonomous triage, confirmed appointment inventory, and automated referral acceptance. |
| What can fail? | The external feed or Google Places can be unavailable, cached news can go stale, the environment configuration can be invalid, the WhatsApp or network handoff can be unavailable, and a build or the runtime can fail. |
| How is it verified? | Run the documented lint, typecheck, test, build, and deploy-dry-run commands, then run browser and integration smoke tests in the target environment. |
Sentra Artificial Intelligence maintains the Melinda public portal as a standalone healthcare capsule in its engineering ecosystem.
The capsule has its own package manifest, lockfile, workspace configuration, TypeScript configuration, Biome configuration, and project.contract.json. Its lifecycle commands run through scripts/pnpm.mjs, and the documented baseline needs no packages or runtime configuration from a parent monorepo.
The repository's AGENTS.md identifies this project as a SAFRS v1.1 standalone capsule. That declaration states architectural intent and repository policy. On its own it does not prove that an empirical extraction has succeeded.
Sovereignty status: 🟡 CONTRACT DECLARED · EXTRACTION CERTIFICATION NOT ASSERTED.
The capsule identifier is healthcare/melindasite. The separate MelindaOS staff platform is linked as an external service and is not part of this repository's runtime.
This is a public hospital information website. The repository's documented baseline uses local typed content and needs no external runtime database. Each optional server-side integration brings an external trust boundary and an availability dependency of its own.
|
|
|
|
|
|
The referral form builds a message in the browser and opens a WhatsApp URL. The form is never submitted to an application-owned database, and the repository provides no durable referral record.
Because the generated message may contain identifiable or clinically sensitive information:
- Share only the minimum information needed for the initial coordination.
- Follow the hospital's approved communication, privacy, and referral procedures.
- Do not treat opening WhatsApp as proof of delivery, acknowledgement, or acceptance.
- For urgent emergencies, call the IGD telephone number directly, as the page instructs.
This README claims no privacy certification, regulatory certification, or security audit beyond what the repository evidences.
- Google Places is an external data provider. The API route falls back to curated review data if live retrieval is unavailable or insufficient.
- The MelindaOS public-news feed is an optional external server-side dependency. Its availability and production readiness must be verified independently.
- WhatsApp is an external communication destination. The portal controls neither message delivery nor whether a person responds.
- Treat public content and user-submitted text as untrusted input at their respective boundaries.
| Method / interface | Route / channel | Responsibility | Auth / trust | Failure behavior |
|---|---|---|---|---|
| GET | /api/google-reviews |
Returns Google Places reviews when both environment variables are configured and enough review text is available. | Server-side Google Places credential; external API is trusted only as a data source. | Returns curated fallback reviews if configuration is absent, retrieval fails, or fewer than two usable reviews are returned. |
| Interface | Configuration | Data behavior | Status |
|---|---|---|---|
| Google Places API | GOOGLE_PLACES_API_KEY + GOOGLE_PLACE_ID |
Retrieves rating, review count, review text, and Google Maps URI. Public display labels are reduced to initials and a masked reviewer label. | Optional; code implemented, live credentials not verified here. |
| MelindaOS public news | MELINDAOS_NEWS_FEED_URL |
Reads the public-news v1 JSON feed, validates its shape, and maps feed items into the local news presentation model. | Optional; upstream endpoint readiness is unverified. |
| WhatsApp Admission | Hospital WhatsApp number in HOSPITAL_INFO |
Creates prefilled contact, booking-enquiry, or referral messages and opens the external WhatsApp destination. | Outbound handoff; no delivery acknowledgement in the application. |
| Telephone | Hospital admission / IGD phone value in HOSPITAL_INFO |
Uses a tel: link for direct calling from supported devices. |
Outbound handoff; carrier and human response are external. |
The website code includes the optional MelindaOS public-news feed adapter. According to the repository handoff dated 30 November 2026, the matching MelindaOS feed endpoint, staff editor, and migration were still on a separate branch at that time and had not been merged or applied.
Treat the integration as CONFIGURED IN THIS REPOSITORY / UPSTREAM UNVERIFIED until the upstream service is deployed, the environment variable is configured, and an end-to-end feed smoke test succeeds.
|
|
|
|
| Module | Responsibility |
|---|---|
src/data/hospitals.ts |
Hospital identity, address, contact information, branches, rooms, history, and leadership. |
src/data/doctors.ts |
Clinician profiles, specialties, schedule entries, and explicit verification states. |
src/data/coe.ts |
Centers of Excellence and clinical-unit catalogue. |
src/data/mcu.ts |
Medical check-up packages and flagship care programmes. |
src/data/articles.ts |
Maternal-child educational content and related institutional information. |
src/data/news.ts |
Local public news fallback records. |
src/data/reviews.ts |
Curated fallback review records. |
The optional MelindaOS news adapter is documented to behave as follows:
- If
MELINDAOS_NEWS_FEED_URLis unset, the site uses the localsrc/data/news.tsdataset. - If configured, the server requests the public-news v1 feed and validates the response before mapping it into the website's news model.
- The last feed that passed validation is cached with a 300-second revalidation interval.
- If a refresh fails, the last good cached value is kept when one exists.
- With a cold cache and an unavailable or invalid feed, the adapter can fail to produce a fresh feed result. The local homepage helper has an additional local fallback, but feed-dependent news pages must still be tested under cold-cache and outage conditions.
- A withdrawn item is not guaranteed to disappear immediately. Cache refresh and page revalidation can delay its removal, and a page that has not been visited can retain its previous rendered copy until its next request.
The cache behavior depends on how Next.js 16.3.8 implements unstable_cache. The repository handoff notes that this API is deprecated and asks for the behavior to be verified again after a Next.js upgrade.
| Failure | Observable behavior | Practical response |
|---|---|---|
| Google Places credentials absent | API returns curated fallback review data. | Confirm both server environment variables if live reviews are intended. |
| Google Places request fails | Curated fallback is returned after the external request path fails. | Check Place ID, API credential, provider access, and server logs. |
| MelindaOS feed URL unset | Local news records are used. | Expected baseline behavior; no upstream dependency is required. |
| MelindaOS feed unavailable with a warm cache | The last good feed can continue to be served while refresh fails. | Restore the upstream feed and verify a successful refresh. |
| MelindaOS feed unavailable with a cold cache | Feed-dependent rendering or a fresh build can fail when the feed is required. | Verify upstream availability before enabling the variable for a build or release. |
| WhatsApp unavailable or not installed | The external handoff may not complete. | Use the displayed hospital telephone channel, especially for urgent emergencies. |
| Deploy dry-run reports missing build artifact | .next/BUILD_ID is absent. |
Run the production build successfully before the dry-run. |
- Clinician schedules and service catalogues are repository content. They do not reflect live appointments or capacity.
- Verification badges in the clinician dataset are not uniform. The UI must keep KB-verified, SK-verified, and provisional WhatsApp confirmation distinct.
- The fast-referral form is a pre-notification aid. It does not persist submissions, track acknowledgement, or confirm clinical acceptance.
- The optional MelindaOS feed depends on an external upstream service and has documented cache and takedown delays.
- The news cache currently uses Next.js
unstable_cache, so its behavior must be retested whenever Next.js is upgraded. - A successful local build proves neither that a production deployment succeeded nor that the production domain is serving this commit.
- The repository does not document a dedicated monitoring, tracing, or centralized audit platform.
Live Google reviews are not appearing
- Confirm
GOOGLE_PLACES_API_KEYandGOOGLE_PLACE_IDare both configured in the server environment. - Confirm the credential has access to the required Google Places API.
- Inspect server-side request errors and confirm that the Place ID resolves to the intended hospital listing.
- Curated fallback data is the expected result when the live response is unavailable or insufficient.
MelindaOS news is not updating
- Confirm the upstream public-news v1 endpoint is deployed and responds with the expected contract.
- Confirm
MELINDAOS_NEWS_FEED_URLpoints to that endpoint in the server environment. - Check the feed response schema and the server log prefix
[news] feed unavailable. - Allow for the 300-second cache and revalidation interval, and for the documented delay before a withdrawn item disappears.
- Test both warm-cache outage and cold-cache startup before enabling the integration in production.
The production dry-run fails
- Run
node scripts/pnpm.mjs run build. - Confirm
.next/BUILD_IDexists. - Re-run
node scripts/pnpm.mjs run deploy:dry-run. - Review the reported artifact and secret-marker result. The script checks static artifacts narrowly and is no substitute for a complete security audit.
The repository's current project metadata declares no external sponsor for this website.
The product is the public portal of RSIA Melinda DHAI Kediri. A local institutional news item describes a collaboration between RSIA Melinda DHAI and Sentra AI on the separate MelindaOS hospital-governance platform. This README does not treat that item as a sponsorship claim for this website.
Admission / WhatsApp: +62 811-3650-101
24-hour IGD: 0354-691016
Address: Jl. Balowerti II No. 59, Kota Kediri, Jawa Timur 64121
Warning
In an emergency, call the IGD telephone number directly. Do not rely on a website form or an asynchronous message.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ACTUAL TECHNOLOGY SURFACE · RSIA MELINDA DHAI KEDIRI PORTAL
This repository is private. Keep changes within the Melinda website capsule and follow the local engineering instructions in AGENTS.md and project.contract.json.
Recommended change sequence:
- Inspect the relevant route, component, data module, and supporting documentation.
- Keep public information, optional integrations, and human clinical authority separate.
- Make a focused change. Do not add a runtime database or a parent-repository dependency unless it is needed.
- Run lint, typecheck, tests, and build.
- Run the deploy dry-run after a successful build.
- Review the final diff and verify any affected public route or integration before release.
The repository root has no LICENSE file and no explicit open-source license declaration. GitHub metadata marks the repository as private. Do not infer any public reuse rights.
- Hospital admission / WhatsApp: +62 811-3650-101
- 24-hour IGD: 0354-691016
- Institutional website: melinda.co.id
- Repository: gaffercode/Melinda
The repository declares no dedicated public channel for security reports. Do not publish secrets, patient information, or vulnerability details in public channels.
The table below lists the repository evidence and what this README update verified. Updating the documentation did not run the application test suite and does not establish a production deployment.
| Surface | Status | Evidence / command | Notes |
|---|---|---|---|
| Repository contract | 🟡 CONFIGURED | project.contract.json |
Lifecycle commands and local HTTP smoke contract are declared. |
| Install | 🟡 CONFIGURED · NOT RUN HERE | node scripts/pnpm.mjs install --frozen-lockfile |
Requires Node 24 and pnpm 11.21.0. |
| Lint | 🟡 CONFIGURED · NOT RUN HERE | node scripts/pnpm.mjs run lint |
Biome command is declared in package.json. |
| Typecheck | 🟡 CONFIGURED · NOT RUN HERE | node scripts/pnpm.mjs run typecheck |
Runs tsc --noEmit. |
| Tests | 🟡 CONFIGURED · NOT RUN HERE | node scripts/pnpm.mjs run test |
Uses node --test tests/*.test.mjs. |
| Build | 🟡 CONFIGURED · NOT RUN HERE | node scripts/pnpm.mjs run build |
Next.js production build. |
| Deployment dry-run | 🟡 CONFIGURED · NOT RUN HERE | node scripts/pnpm.mjs run deploy:dry-run |
Requires .next/BUILD_ID; performs a narrow static artifact check. |
| Production deployment | 🔴 UNVERIFIED | Environment-specific release and live HTTP smoke test | No successful production release is asserted by this README update. |
| Google Places integration | 🟡 IMPLEMENTED · LIVE CONFIG UNVERIFIED | GET /api/google-reviews |
Requires both Google environment variables for the live path. |
| MelindaOS news integration | 🟡 IMPLEMENTED IN CODE · UPSTREAM UNVERIFIED | MELINDAOS_NEWS_FEED_URL |
Upstream endpoint and production end-to-end behavior require separate verification. |
| Standalone extraction | 🔴 UNVERIFIED | Empirical isolated extraction test | No extraction certification is claimed here. |
ACTUAL TECHNOLOGY SURFACE · 10 ENGINEERING PILLARS · MONOREPO ABYSS
Dedicated to Aldebaran, Aimee, Audrey, and Del — & the Indonesia Healthcare Ecosystem.
Sentra Artificial Intelligence · Built in the depth, deployed at the bedside.
// the surface is documentation. the depth is running.

