Use-Case 1: Create a Task
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
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 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 .
The Koppeltaal server enforces compliance with the . The Task
Resource must indicate that it's using the KT2Task profile. This is done in the Resource.meta.profile
field.