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
Version: 3.0
Contract: urn:riv:clinicalprocess:healthcond:description:GetCareDocumentation:3
GetCareDocumentation returns journal entries (journalanteckningar) for a patient. These notes are of types:
The message format is based on NPÖ RIV 2.2.0 and is compatible with HL7 v. 3 CDA v. 2.
┌─────────┐ ┌─────────────┐ ┌──────────┐ ┌────────┐ ┌────────┐
│Consumer │ │ Aggregator │ │ EI │ │Source1 │ │Source2 │
└────┬────┘ └──────┬──────┘ └────┬─────┘ └───┬────┘ └───┬────┘
│ │ │ │ │
│ GetCareDoc(patient) │ │ │ │
├─────────────────────>│ │ │ │
│ │ │ │ │
│ │ Query(patient, │ │ │
│ │ CareDocumentation) │ │ │
│ ├─────────────────────>│ │ │
│ │ │ │ │
│ │ Systems: S1, S2 │ │ │
│ │<─────────────────────┤ │ │
│ │ │ │ │
│ │ GetCareDoc(patient) │ │ │
│ ├──────────────────────┼───────────────────>│ │
│ │ │ │ │
│ │ GetCareDoc(patient) │ │ │
│ ├──────────────────────┼────────────────────┼──────────>│
│ │ │ │ │
│ │ │ Response │ │
│ │<─────────────────────┼────────────────────┤ │
│ │ │ │ │
│ │ │ Response │
│ │<─────────────────────┼────────────────────┼───────────┤
│ │ │ │ │
│ Response(aggregated)│ │ │ │
│<─────────────────────┤ │ │ │
│ │ │ │ │
┌─────────┐ ┌────────────┐
│Consumer │ │Source Sys │
└────┬────┘ └─────┬──────┘
│ │
│ GetCareDoc(patient, │
│ sourceSystemHSAId) │
├────────────────────>│
│ │
│ Response │
│<────────────────────┤
│ │
See the GetCareDocumentationRequest logical model for complete structure.
| Parameter | Cardinality | Type | Description |
|---|---|---|---|
| careUnit | 0..* | IIType | Filter on care unit (accountableCareUnit in response) |
| healthcareProvider | 0..* | IIType | Filter on healthcare provider |
| patientId | 1..1 | IIType | Patient identifier (12 chars, no separator) |
| datePeriod | 0..1 | DatePeriodType | Limits search to date interval |
| sourceSystemId | 0..1 | IIType | Limits search to specific source system |
| hasMoreReference | 0..1 | string | Reference for partial data retrieval continuation |
The service producer must return all patient information for any of the patient's identity designations. This includes:
Note: Local reserve numbers cannot be used with engagement index and aggregating services. Service consumers using reserve numbers must use direct system addressing.
See the GetCareDocumentationResponse logical model for complete structure.
Each care documentation entry contains:
Text content may be formatted using DocBook version 5.0 standard. Required elements that must be supported by consumers:
Text must be entity-encoded when transmitted (e.g., > becomes >, < becomes <).
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:riv="urn:riv:clinicalprocess:healthcond:description:GetCareDocumentationResponder:3"
xmlns:add="http://www.w3.org/2005/08/addressing">
<soap:Header>
<add:To>https://service-platform.example.se/GetCareDocumentation</add:To>
<add:Action>urn:riv:clinicalprocess:healthcond:description:GetCareDocumentationResponder:3:GetCareDocumentation</add:Action>
<add:MessageID>uuid:12345678-1234-1234-1234-123456789abc</add:MessageID>
<riv:LogicalAddress>5565594230</riv:LogicalAddress>
</soap:Header>
<soap:Body>
<riv:GetCareDocumentation>
<riv:patientId>
<riv:id>197001011234</riv:id>
<riv:type>1.2.752.129.2.1.3.1</riv:type>
</riv:patientId>
<riv:timePeriod>
<riv:start>20240101</riv:start>
<riv:end>20241231</riv:end>
</riv:timePeriod>
<riv:careUnitHSAId>SE2321000016-1234</riv:careUnitHSAId>
</riv:GetCareDocumentation>
</soap:Body>
</soap:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:riv="urn:riv:clinicalprocess:healthcond:description:GetCareDocumentationResponder:3">
<soap:Body>
<riv:GetCareDocumentationResponse>
<riv:result>
<riv:resultCode>OK</riv:resultCode>
</riv:result>
<riv:careDocumentation>
<riv:careDocumentationHeader>
<riv:documentId>DOC-2024-001</riv:documentId>
<riv:sourceSystemHSAId>SE2321000016-SYS1</riv:sourceSystemHSAId>
<riv:documentTime>20240315143000</riv:documentTime>
<riv:patientId>
<riv:id>197001011234</riv:id>
<riv:type>1.2.752.129.2.1.3.1</riv:type>
</riv:patientId>
<riv:accountableCareUnit>
<riv:healthcareFacility>SE2321000016-1234</riv:healthcareFacility>
</riv:accountableCareUnit>
<riv:approvedForPatient>true</riv:approvedForPatient>
<riv:nullified>false</riv:nullified>
</riv:careDocumentationHeader>
<riv:careDocumentationBody>
<riv:clinicalDocumentNote>
<riv:clinicalDocumentNoteText>Patient reports improvement in symptoms...</riv:clinicalDocumentNoteText>
<riv:noteTitle>Progress Note</riv:noteTitle>
<riv:noteTime>20240315143000</riv:noteTime>
</riv:clinicalDocumentNote>
</riv:careDocumentationBody>
</riv:careDocumentation>
</riv:GetCareDocumentationResponse>
</soap:Body>
</soap:Envelope>
GetCareDocumentation supports partial delivery when:
hasMore element with:
hasMoreReference in next requestElements accountableHealthcareProvider and accountableCareUnit required for blocking control and PDL logging. Records without HSA-IDs for care unit won't display in coherent medical records access.
Identifier must be unique. Same ID cannot occur multiple times in response.
Only one of clinicalDocumentNoteText or multimediaEntry may be specified.
Only one of value (embedded) or reference (external URL) may be specified.
Producers must follow general guidelines for binary attachments (reference ARK_0038).
When sourceSystemId is specified, it must match logicalAddress in SOAP header.
| Original DocBook | Entity Encoded |
|---|---|
<article> |
<article> |
<title>Title</title> |
<title>Title</title> |
<para>Text</para> |
<para>Text</para> |
Consumers must:
Reference libraries available:
| Error Code |