Use-Case 1: Create a Task
When using the EHR to create Resources, it is important to look in simplifier for the mandatory fields of the Resources. The EHR itself does not indicate which fields are mandatory, and does not return information about why a Resource could not be created.
Task creation
Creating a Task
in the Koppeltaal server works just like any other Resource: using the RESTful API.
The Task
resource can most easily be created using an official FHIR library. First consult the FHIR Downloads page to see if you can find a useful library. The final output of the code should be a POST
request to the Koppeltaal server. More information on creating resources is described here.
Profile
The Koppeltaal server enforces compliance with the Koppeltaal KT2Task profile. The Task
Resource must indicate that it's using the KT2Task profile. This is done in the Resource.meta.profile
field.
Example Task
Last updated