Swedish Healthcare Service - Health Condition Description
0.1.0 - CI Build
Sweden
Swedish Healthcare Service - Health Condition Description - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This page provides guidance for testing implementations of the Health Condition Description services.
Test patient numbers follow the pattern 19YYYYMMDD-NNNN where:
Common Test Patients:
| Personnummer | Scenario | Description |
|---|---|---|
| 197001011234 | Normal | Standard patient with complete data |
| 197001011235 | Normal | Patient with moderate data volume |
| 195005051234 | Elderly | Patient born 1950, long history |
| 199912121234 | Young | Recent patient, limited history |
| 198503169876 | Normal | Patient with multiple care contacts |
| 198812189090 | Normal | Patient with multiple care units |
| 197505051234 | Alerts | Patient with alert information |
| 196712122345 | Alerts | Patient with active alerts |
| 193010101234 | Functional | Patient with ADL/PADL assessments |
| 194002021234 | Multi-unit | Patient at multiple care units |
| 195505051234 | Large dataset | Patient with extensive history |
| 196006061234 | Pagination | Patient requiring partial retrieval |
| 197001011234 | Access control | Used for PDL/blocking tests |
| Samordningsnummer | Description |
|---|---|
| 197061619876 | Standard coordination number |
| 198071729876 | Recent coordination number |
Local reserve numbers for testing (SLL example):
1.2.752.97.3.1.3920000001234Note: Reserve numbers only work with direct system addressing, not via aggregating services.
Objective: Verify basic patient journal retrieval
Request:
<patientId>
<id>197001011234</id>
<type>1.2.752.129.2.1.3.1</type>
</patientId>
<timePeriod>
<start>20240101</start>
<end>20241231</end>
</timePeriod>
Expected Result:
OKdocumentTime descendingObjective: Filter by specific care unit
Request:
<patientId>
<id>198503169876</id>
<type>1.2.752.129.2.1.3.1</type>
</patientId>
<careUnitHSAId>SE2321000016-1234</careUnitHSAId>
Expected Result:
accountableCareUnit = SE2321000016-1234Objective: Test validation
Request:
<timePeriod>
<start>20241231</start>
<end>20240101</end>
</timePeriod>
Expected Result:
INVALID_REQUESTObjective: Test pagination
Request 1:
<patientId>
<id>196006061234</id>
<type>1.2.752.129.2.1.3.1</type>
</patientId>
Expected Result 1:
OKhasMore element present with:
logicalAddressreferenceRequest 2:
<hasMoreReference>[reference from response 1]</hasMoreReference>
Expected Result 2:
Objective: Test access control
Setup: Patient 197001011234 blocks access from test system
Request:
<patientId>
<id>197001011234</id>
<type>1.2.752.129.2.1.3.1</type>
</patientId>
Expected Result:
BLOCKEDRequest:
<patientId>
<id>197001011234</id>
<type>1.2.752.129.2.1.3.1</type>
</patientId>
<timePeriod>
<start>20240501</start>
<end>20241031</end>
</timePeriod>
Expected Result:
Request:
<patientId>
<id>198812189090</id>
<type>1.2.752.129.2.1.3.1</type>
</patientId>
<careContactId>CONTACT-2024-001</careContactId>
Expected Result:
Request:
<patientId>
<id>197505051234</id>
<type>1.2.752.129.2.1.3.1</type>
</patientId>
Expected Result:
Request:
<patientId>
<id>196712122345</id>
<type>1.2.752.129.2.1.3.1</type>
</patientId>
<timePeriod>
<start>20241101</start>
<end>20241130</end>
</timePeriod>
Expected Result:
Request:
<patientId>
<id>193010101234</id>
<type>1.2.752.129.2.1.3.1</type>
</patientId>
Expected Result:
Request:
<patientId>
<id>194002021234</id>
<type>1.2.752.129.2.1.3.1</type>
</patientId>
<careUnitHSAId>SE2321000016-NEURO</careUnitHSAId>
<careUnitHSAId>SE2321000016-REHAB</careUnitHSAId>
Expected Result:
Objective: Verify data from multiple source systems is combined
Setup:
Request:
<LogicalAddress>5565594230</LogicalAddress>
<patientId>
<id>197001011234</id>
<type>1.2.752.129.2.1.3.1</type>
</patientId>
Expected Result:
Objective: Verify behavior when some systems fail
Setup:
Expected Result:
OKpartial flag = true| Scenario | Target (p95) | Maximum |
|---|---|---|
| Single system, 10 records | < 1 sec | 3 sec |
| Single system, 100 records | < 5 sec | 10 sec |
| Aggregator, 3 systems | < 10 sec | 27 sec |
| Aggregator, 10 systems | < 20 sec | 27 sec |
Test Cases:
ACCESS_DENIEDCause: Service endpoint not reachable
Check:
Cause: SSL/TLS certificate problem
Check:
Cause: Request took too long
Check:
Cause: No data matches query
Check:
Guidelines:
Some test environments support data reset: