Layman manual
1177.pdhc is the platform's patient-facing form host — the place where
clinical questionnaires are rendered in a 1177 Vårdguiden style, filled in
by (or on behalf of) a patient, and turned into structured answers that flow
back into the platform.
It is not a static form library: it receives a specific questionnaire for a
specific patient, presents it, collects the answers, and returns them as
structured FHIR data. Live at https://1177.pdhc.se (internal branding:
"1177 Forms").
Four services cooperate to turn a clinical idea into collected patient data:
plan.pdhc designs the form (concepts → FHIR Questionnaire)
│
request.pdhc packages + delivers it to the provider
│ (push)
1177.pdhc hosts, renders, collects the answers ← this service
│ (dispatch)
gateway.pdhc receives the completed response for analysis
request.pdhc pushes an order (a FHIR Bundle containing the patientgateway.pdhc.Log in at https://1177.pdhc.se/login (username + access key). The portal:
pending → opened.completed, the answers are sentDELETE to confirm).Assignment lifecycle: pending → opened → completed
(or expired / cancelled).
Service and integration calls use the X-API-Key header. The essentials
(base paths /api/assignments, /api/webhook):
| Do this | Call |
|---|---|
| Check health (no auth) | GET /api/health → {status, database} |
| List a patient's assignments | GET /api/assignments?patient_guid=<guid> |
| Read one assignment | GET /api/assignments/<assignment_guid> |
| Submit answers | POST /api/assignments/<assignment_guid>/submit |
| Cancel an assignment | POST /api/assignments/<assignment_guid>/cancel |
Submitting answers produces the same FHIR QuestionnaireResponse and triggers
the same gateway dispatch as the web UI — the two paths are interchangeable.
request.pdhc delivers new forms by pushing a FHIR Bundle to
POST /api/webhook/inbound (also X-API-Key).
X-API-Key (create and(Note: this service uses key/password login, not the platform SSO — every
access to patient data is written to the keyauth access log.)
plan.pdhcrequest.pdhc must resolve and include it before delivering, so