Technical manual and API reference for 1177.pdhc
| Document | |
|---|---|
| No downloadable documents. | |
1177.pdhc is the patient questionnaire assignment service. It receives dispatched ServiceRequests from request.pdhc via webhook, creates assignments per patient, and stores FHIR QuestionnaireResponse resources for completion tracking.
| Method | Path | Description |
|---|---|---|
POST | /api/webhook/dispatch | Receive dispatched ServiceRequest |
POST | /api/webhook/acknowledge | Acknowledge receipt |
| Method | Path | Description |
|---|---|---|
GET | /api/assignments | List all assignments |
GET | /api/assignments/<id> | Get assignment details |
POST | /api/assignments/<id>/complete | Mark assignment as completed |
| Method | Path | Description |
|---|---|---|
GET | /api/health | Health check with DB status |
| Port | Service |
|---|---|
| 9036 | Flask / Gunicorn |
| 9037 | PostgreSQL (Docker) |
Start: cd /usr/local/www/1177.pdhc && bash start.sh