ssh -p 22 websvcs@162.209.32.138 -L 7171:devqa.rxnt.com:443
For an overview on how smart forms works, check this guid: Break-in Guide to SmartForms
Before executing this you should have your MongoDB rxntforms
collection loaded. This load happens via smart-form-repo
project.
-
Have you mongodb installed (preferably under 27017 port)
-
Setup and start
encounter-mongo-services
(checkout repo read for instructions) -
When
encounter-mongo-services
is up and running, go to the<dir>/smart-form-repo/
Pay attention for the total number of forms to be processed, in the end you should verify that all forms were uploaded.
Execute the following:
npm i npm run uploadAmendment:dev npm run start:dev
-
Verify all forms were loaded into
rxntforms
.
After loading the data into mongo, you should get the _id
from the master form.
db.getCollection('masterforms').find({formId:"RX4056"})
// form name: "RXNT Standard Encounter"
With the _id
in hands, time to update the ./integration-playground/auth.js
. We should change the encounterTemplateV2EncounterInfo.formId
property for the new ID. (search for window.encounterTemplateV2EncounterInfo
)
avoid pushing this change to the repo
npm start