Skip to content

Instantly share code, notes, and snippets.

View tony-shannon's full-sized avatar

Tony Shannon tony-shannon

  • Dublin, Ireland
View GitHub Profile
console.log("Welcome into indexing");
function randomer(){
return Math.random().toString(36).substring(2, 15);
// + Math.random().toString(36).substring(2, 15);
}
var patients = {
patientsList:[]
}
pre HIT
TemplateID:
IDCR - Adverse Reaction List.v1
Summary AQL /query:
To populate the list of items when the heading is selected.
GET
select
UI JSON
{
"userId": "9999999006",
"author": "Dr. Smith",
"dateCreated": "08/29/2019",
"problem": "Hypertension",
"dateOfOnset": "2013-01-01",
"description": "due to period of stress",
"code": "12556",
Examples posted into Showcase Demo Ripple
Allergies POST
{
"userId": "9999999001",
"author": "Rob Tweed",
"dateCreated": "08/28/2019",
"cause": "Latex",
"reaction": "Rash on Hands",
"causeCode": "SCT",
Input format
{
"ctx": {
"composer_name": "{{composer}}",
"health_care_facility|id": "999999-345",
"health_care_facility|name": "Home",
"id_namespace": "NHS-UK",
"id_scheme": "2.16.840.1.113883.2.1.4.3",
"language": "en",
{
"Data2Load": {
"DB Details": {
"type": "EtherCIS CDR",
"domain": "test1.ripple.foundation",
"IP": "21.21.55.143",
"userN": "Tester",
"passW": "Password!23"
},
"ID Type": "NHS#",
GET https://10/200.82.70/api/hscn/ltht/top3Things/9999999004 for external API to external place eg Hospital
GET ...//top3Things/9999999004 the current API to PulseTile -
GET ... // top3things/9999999004/synopsis the current synposis API to PulseTile
GET .. //top3things/9999999004?version=3 ? new API for Pulsetile for versions
{
ctx: {
language: 'en',
territory: 'GB'
},
nss_respect_form: {
'language|code': 'en',
'language|terminology': 'ISO_639-1',
'territory|code': 'GB',
'territory|terminology': 'ISO_3166-1'
# ignore this line
## first make a directory for yottaDB & copy files there
mkdir ~/ms-db/yottadb
cd ~/ms-db/yottadb
svn export https://github.com/robtweed/yotta-gbldir-files/trunk --depth files db_service
## now edit their permissions
cd db_service
root@dockerPlay2:~/ms-db# docker inspect orchestrator
[
{
"Id": "65e462e5a2f4e6371c4ee2efecae8de4beba2b0470a380883fe80ec1b457e18e",
"Created": "2019-01-08T09:45:45.512067478Z",
"Path": "npm",
"Args": [
"start"
],
"State": {