TKB Clinical Process Activity Actions - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Common Components
Common Components
This section documents common data types used across the services.
Patient Identifier (patientId)
- Structure:
- id (1..1) string — 12 digits without separator (YYYYMMDDNNNN)
- type (1..1) string — OID of identifier type
- Valid values for type:
- 1.2.752.129.2.1.3.1 — Personnummer
- 1.2.752.129.2.1.3.3 — Samordningsnummer
- Validation rules:
- id: ^[0-9]{12}$
- type: ^[0-9.]+$
- Luhn checksum (mod 10) for personnummer
Time Period (timePeriod)
- Structure:
- start (1..1) string — YYYYMMDD or YYYYMMDDhhmmss
- end (0..1) string — YYYYMMDD or YYYYMMDDhhmmss
- Rules:
- If provided, start is required
- If both provided, end >= start
HSA Identifiers
- HSA-ID format examples: SE2321000016-ABC123
- Used for care units, performers, and source systems