Difference between revisions of "FHIR Server Setup"

(ART-DECOR Project)
(ART-DECOR Project)
Line 37: Line 37:
  
 
[[File:valueSet-html-rendering-with-fhir.png|400px]]
 
[[File:valueSet-html-rendering-with-fhir.png|400px]]
 +
=== FHIR URI's ===
 +
After setting up the FHIR server, resources can be retrieved from the locations described in: [[FHIR_URIs | FHIR URI's]]

Revision as of 07:30, 7 July 2017

Installation

Template:Fmbox

Tomcat

Go to

tomcat/webapps/art-decor/WEB-INF/resources/config/properties-local.xml

and add these lines:

    <property as="xs:anyURI" name="fhir.exist.url" value="http://localhost:8877/fhir"/>
    <property as="xs:anyURI" name="fhir.external.exist.url" value="http://myserver:myport/fhir"/>

eXist-db

Go to

exist-db/webapp/WEB-INF/controller-config.xml

and add this line:

    <root pattern="/fhir" path="xmldb:exist:///db/apps/fhir/"/>

Use the exist-db Dashboard to install one more more FHIR version Server. Note: if you have the older "FHIR" without version installed: uninstall this first. Dashboard-fhir-server.png

ART-DECOR Server

Log in using a dba account and go to the art-decor/art-settings page. Enter the FHIR Server URL appropriate for your server. Normally this comes down to http://myhostname/fhir/. Note the final slash as with all URLs configured here. See ART_maintenance_manual#FHIR_endpoint_prefix for more detail.

ART-DECOR Project

For any project that you want to FHIR Enable, go to the project page for the project as author with decor-admin permissions, and add FHIR as RESTful Service. The + button is not active when there is no FHIR Server installed or if the FHIR URI is not configured. The only thing that a project-admin can configure is the version(s) he wants to activate. The rest is readonly. Fhir-settings-project.png

Template:Fmbox

One of the consequences of FHIR enabling a project is that valueSet renderings receive FHIR related links.

ValueSet-html-rendering-with-fhir.png

FHIR URI's

After setting up the FHIR server, resources can be retrieved from the locations described in: FHIR URI's