Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Library to add OpenSearch support of CSD documents to the OpenInfoMan

Notifications You must be signed in to change notification settings

openhie/openinfoman-opensearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openinfoman-opensearch

Library to add OpenSearch support of CSD documents to the OpenInfoMan s FHIR organization

Prerequisites

Assumes that you have installed BaseX and OpenInfoMan according to:

https://github.com/openhie/openinfoman/wiki/Install-Instructions

Directions

To get the libarary:

cd ~/
git clone https://github.com/openhie/openinfoman-opensearch

Library Module

Common functionality for the is packaged in an XQuery module

cd ~/basex/repo
basex -Vc "REPO INSTALL openinfoman_opensearch_adapter.xqm"

Stored Functions

To install the stored functions (one for each of the FHIR resources) you can do:

cd ~/basex/resources/stored_query_definitions
ln -sf ~/openinfoman-opensearch/resources/stored_query_definitions/* .

Be sure to reload the stored functions:

https://github.com/openhie/openinfoman/wiki/Install-Instructions#Loading_Stored_Queries

OpenSearch Endpoints

You can the stored functions to the GET endpoints requried by OpenSearch with:

cd ~/basex/webapp
ln -sf ~/openinfoman-opensearch/webapp/openinfoman_opensearch_bindings.xqm

About

Library to add OpenSearch support of CSD documents to the OpenInfoMan

Resources

Stars

Watchers

Forks

Packages

No packages published