Skip to main content

No project description provided

Project description

“Koppeltaal” (Ducth for “Connect language”) is a technical solution based on the international HL7/FHIR standard. It enables the exchange of e-health interventions. Koppeltaal enables organizations to connect e-health interventions from other providers to their own IT environment. With Koppeltaal organizations can more easily mix and match the best of the available e-health interventions and applications.

See https://koppeltaal.nl/

This connector acts as an intermediary or adapter between application and framework code and a Koppeltaal server. It is written in the Python programming language.

See https://python.org

The initial development was done using Python 2.7. Python 3.6 compatibility work is being done.

This Koppeltaal connector was initially developed by Minddistrict Development B.V. for Stichting Koppeltaal.

Buildout

The dependencies for the Koppeltaal Python connector is put together using [buildout].

On Linux/OSX, run:

`sh $ python2.7 bootstrap-buildout.py $ bin/buildout `

On Windows, run (this works best in a git shell):

`sh $ C:\Python27\Python.exe bootstrap-buildout.py $ bin\buildout.exe `

Tests

We use the [pytest] framework. The tests are run against a Koppeltaal server and domain setup specifically for testing the connector code base. This domain is called edge:

`sh $ bin/py.test --server=edge `

Command line interface

To use the koppeltaal connector command line interface:

`sh $ bin/koppeltaal --help `

Arguments:

The first argument to the koppeltaal script is the server to connect to, for example edge. The username, password and domain can be passed in as arguments or taken from ~/.koppeltaal.cfg. The format of ~/.koppeltaal.cfg looks like this:

` [edge] url = https://edgekoppeltaal.vhscloud.nl username = PA@PythonAdapterTesting4Edge password = <secret here> domain = PythonAdapterTesting `

Metadata / Conformance statement

To retrieve the Conformance statement from the server:

`sh $ bin/koppeltaal [servername] metadata `

Activity definition

To get the activity definition from the server:

`sh $ bin/koppeltaal [servername] activities `

Messages

To get a list of messages in the mailbox:

`sh $ bin/koppeltaal [servername] messages `

You can filter on a patient (with –patient), or event (with –event) or status (with –status):

`sh $ bin/koppeltaal [servername] messages --status=New --event=CreateOrUpdateCarePlan `

To get a specific message:

`sh $ bin/koppeltaal [servername] message [message URL or id] `

Python API

Use the following API in your integration code to talk to a Koppeltaal server:

T.B.D.

[buildout]: http://www.buildout.org [pytest]: https://pytest.org

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

koppeltaal-1.1.tar.gz (48.3 kB view details)

Uploaded Source

File details

Details for the file koppeltaal-1.1.tar.gz.

File metadata

  • Download URL: koppeltaal-1.1.tar.gz
  • Upload date:
  • Size: 48.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for koppeltaal-1.1.tar.gz
Algorithm Hash digest
SHA256 c58d1fa3eff8331ab3e1ec27cb5343b844193d629749af8af956f37d1de9520f
MD5 a69544ebc1cb71896323cafb4627eedd
BLAKE2b-256 3099381b24f8d2b138189ff9ffa2c31b59564cf37fdef2502fb6ee440182bbcb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page