Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mharthoorn committed Feb 24, 2016
1 parent f9c46e6 commit 60720d9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs_simplifier/simplifierConnectors.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Simplifier Connectors
=====================
Connectors
==========

Simplifier allows users to create a connection to other applications. Think about sending a StructureDefinition to an Example generator, a TestScript resource to a server test application, a ValueSet to an terminology server etc.

Expand Down Expand Up @@ -35,9 +35,9 @@ Create a connector

8. Once you have created your connector, the Simplifier administrator gets notified. The administrator can either approve the connector or turns it down. If your connector is approved, it will be available in the shop.


Use a connector
---------------

Each connector specifies one or multiple resources is can be used with. You can see this in the shop or if you already subscribed, on your personal connector page. If you have subscribed to a connector, you can use the connector on each resource of the type specified there under the "connectors" tab.


Expand Down
17 changes: 9 additions & 8 deletions docs_simplifier/simplifierWriteConnector.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Writing a connector script
--------------------------
Connector scripts
=================

There are several things that you will likely do when you write a connector script. And to make this as easy as possible, your script will have access to the following Javascript libraries:
- JQuery 1.7
Expand All @@ -24,15 +24,16 @@ To redirect to a different page, with a POST body payload:
.. code-block:: Javascript
$.redirect(url, body);

## Place holders
Place holders
-------------

Your script may contain place holders, that will be filled in before your connector script is executed:

### {endpoint}
When your connector is executed by a user, he will do that from the page that shows a resource.
The {endpoint} placeholder contain the url of the FHIR endpoint of that resource.
{endpoint}
When your connector is executed by a user, he will do that from the page that shows a resource.
The {endpoint} placeholder contain the url of the FHIR endpoint of that resource.

### {returnurl}
This placeholder will contain the url of the page from where your connector script is executed.
{returnurl}
This placeholder will contain the url of the page from where your connector script is executed.


0 comments on commit 60720d9

Please sign in to comment.