All documentation Download (Markdown) Layman

1177 · 1177.pdhc.se

Layman manual


1177.pdhc — User 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").


1. Where it sits in the platform

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

2. What an operator does

Log in at https://1177.pdhc.se/login (username + access key). The portal:

Assignment lifecycle: pending → opened → completed
(or expired / cancelled).


3. Using the API (integrators)

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).


4. Access

(Note: this service uses key/password login, not the platform SSO — every
access to patient data is written to the keyauth access log.)


5. Good to know