Package: kt2
FeaturesSome of it’s stand out features are:Koppeltaal 2.0 SDKFHIR Koppeltaal 2.0 profiles validationJWKS utilsktcommandline applicationDeveloper GuideThis guide gives a brief overview of the core Koppeltaal 2.0 concepts and how to integrate with its servicesImportant differences with Koppeltaal 1.xConceptKT 1.xKT 2.0FHIR ExchangeMessagingRESTful APIContent ValidationSeparate serviceBuilt-inAuthorisationNone - application has access to everythingOn resource & CRUD-levelFHIR ExchangeBy using the (FHIR) RESTful API exchange there is a single source of truth. Koppeltaal 1.x acted as a message broker, giving each participant the responsibility to keep all data up-to-date.
Another big advantage is that Koppeltaal 2.0 works with small messages. So no self-contained bundles. This saves a lot of data being transferred over the line and the chance of 409 Conflicts are considerably reduced.Content ValidationPreviously, a separate service could be used to check whether the content of a Bundle is valid. However, this validation was not enforced by the Koppeltaal server.
Koppeltaal 2.0 uses profiles. A profile indicates exactly what the rules are per Resource. The Koppeltaal server can enforce profiles by validating that the Resources adhere to the profile.AuthorisationApplications connect to the Koppeltaal server. Within "Domeinbeheer" (Domain Management), roles are assigned to the applications. A role can contain multiple CRUD permissions per Resource. With Koppeltaal 2.0, you are only allowed to work with resources to which you are entitled. With Koppeltaal 1.x, applications can see everything that they are subscribed to within a Domain.UsageConfigurationCreate akoppeltaal.tomlfile with the neccessary configuration:client_name="name-of-customer-or-client"fhir_url="https://foo.koppeltaal.nl/api/v1/healthcareinc/fhir/r4/"oauth_token_url="https://foo.koppeltaal.nl/api/v1/healthcareinc/oauth2/token"oauth_authorize_url="https://foo.koppeltaal.nl/api/v1/healthcareinc/oauth2/authorize"oauth_introspection_token_url="https://foo.koppeltaal.nl/api/v1/healthcareinc/oauth2/token/introspection"smart_config_url="https://foo.koppeltaal.nl/api/v1/healthcareinc/fhir/r4/.well-known/smart-configuration"domain="https://foo.koppeltaal.nl"client_id="uuid-client-id"Commandline interfacekt helpUsage: kt [OPTIONS] COMMAND [ARGS]...

  Koppeltaal command line tool

Options:
  --debug        enable debug logs ( default: False )
  --config TEXT  select config file
  --help         Show this message and exit.

Commands:
  activitydefinition   get single activitydefinition resource by id from
                       koppeltaal api
  activitydefinitions  get all activitydefinition resources from koppeltaal
                       api
  endpoint             get single endpoint resource by id from koppeltaal api
  endpoints            get all endpoint resources from koppeltaal api
  info                 show Koppeltaal api info
  patient              get single patient resource by id from koppeltaal api
  patients             get all patient resources from koppeltaal api
  practitioner         get single practitioner resource by id from koppeltaal
                       api
  practitioners        get all practitioner resources from koppeltaal api
  task                 get single task resource by id from koppeltaal api
  tasks                get all task resources from koppeltaal api
  version              show Koppeltaal cli versionPython ShellmakeshellDocumentationRoadmapIs it any good?Yes.LicenseThe MIT LicenseCreditsPart of this document is released under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.