Chat Spreekuur.nl OpenAPI specification
This page describes the Chat API specification Spreekuur.nl provides.
Spreekuur.nl chat FHIR API (1.0.0)
Download OpenAPI specification:Download
Send message from XIS to Spreekuur.nl
Request Body schema: application/fhir+jsonrequired
resourceType required | string Value: "Communication" |
id required | string |
required | Array of objects |
object | |
status required | string Value: "completed" |
required | Array of objects |
required | object |
required | Array of objects |
required | Array of objects |
required | Array of objects |
required | Array of objects |
Responses
Request samples
- Payload
Content type
application/fhir+json
{- "resourceType": "Communication",
- "id": 1234567890,
- "identifier": [
- {
- "system": "nl.spreekuur.communication-id",
- "value": 1234567890
}
], - "topic": {
- "text": "Example topic"
}, - "status": "completed",
- "payload": [
- {
- "contentString": "Example message from XIS to Spreekuur.nl.",
- "contentAttachment": {
- "contentType": "jpeg",
- "title": "Test afbeelding"
}
}
], - "encounter": {
- "identifier": [
- {
- "system": "nl.example-xis.encounter-id",
- "value": 1234567890
}
]
}, - "sender": [
- {
- "reference": "PractitionerRole/d131fb4e-e9fe-458f-9ec3-b55c80c2cd75"
}
], - "recipient": [
], - "subject": [
], - "category": [
- {
- "coding": [
- {
- "system": "nl.spreekuur.communication-type",
- "code": "chat"
}
]
}
]
}
Close a chat
Request Body schema: application/fhir+jsonrequired
resourceType required | string Value: "Encounter" |
id required | string |
required | Array of objects |
status required | string Value: "finished" |
Responses
Request samples
- Payload
Content type
application/fhir+json
{- "resourceType": "Encounter",
- "id": 1234567890,
- "status": "finished"
}