interesting idea
- Log in to post comments
interesting idea
Great example, @Alberto Fuentes !
There is also JSON Trace Viewer app which looks like does the same
Hi @Flávio Lúcio Naves Júnior , thanks for raising an important question!
Could you please submit an idea?
Now answering your question :)
Name="src" means the folder related to the one where module.xml is situated on the development/testing or publishing machine.
In order to protect the IP you can use "Deployed packages" mode, see the documentation. Just include Deploy="true" in a resource element, and only compiled code will be installed.
<Resource Name="Sample.Demo.PKG" Deploy="true"/>
Load command locally still will import package with the source code, which is quite handy for development and testing.
Hi @Stephen Canzano !
Unit tests are not included into the package when you publish it into repository. So when you install the package on a target machine only "solution" classes will be installed, not unit-tests.
E.g. here is csvgen app. I you check the source code it contains "solution" classes in src folder here and unit-tests in /tests folder.
module XML for csvgen has resources, that will be packaged while published in the IPM registry:
and the unittests, that are being used only development phase and can be imported to the system via load command:
So when you install csvgen package, e.g.:
USER>zpm "install csvgen"
you'll see only RESOURCES classes installed.

Thank you, @Steve Pisani !
Source control is a recommendation to track such changes. I recommend git-source-control package by @Timothy Leavitt
Also you can just do (in IRIS for Health):
USER>zpm "install fhir-server -dev"
And you'll have it setup in "FHIRSERVER" namespace with fhir server R4 at /fhir/r4
BTW, @Enrico Parisi , see OEX has introduced the option to download ANY IPM package listed on Open Exchange. It's right below the IPM command:

I've updated the link in the article on behalf of being a moderator
Basically it's a way to store and retrieve arbitrary XML data resources within the ObjectScript class definition
This is a fantastic discussion. Is there any service other than @Lorenzo Scalese's that can provide host IP and port for a docker iris? e.g. to be able to use it during development?
That works, Robert, thank you! Not for docker use unfortunately
Nice! Thank you @Brett Saviano!
And it works for host versions nicely! But of course if it is a docker image there could be a ports mapping. e.g. if I start iris with the following command:
docker run --rm --name iris-demo -d -p 9091:1972 -p 9092:52773 intersystemsdc/irishealth-community:preview
and open terminal with:
docker exec -it iris-demo iris session iris
then the command gives us:
USER>Do ##class(%Studio.General).GetWebServerPort(,,,.url) Write url,"csp/sys/UtilHome.csp" Kill url
http://172.17.0.2:52773/csp/sys/UtilHome.cspand the working one is:
http://localhost:19092/csp/sys/UtilHome.csp
Maybe it is not possible at all for docker.
Unless we setup a special global intentionally during the docker image build.
BTW, @Sylvain Guilbaud , @Robert Cemper , @Alexander Pettitt - do you think if it is possible to have a shortcut command that will return the URL for a management portal in terminal? with a proper port and CSP app?
Thanks @Robert Cemper !
Thank you, @Sylvain Guilbaud !
Yes, @Enrico Parisi ! I also have questions to the "full objectscript rules" list. And I hope @Daniel Tamajon and @Dmitry Maslennikov can follow up.
Anyway, if you and other developers have any ideas what else could be added to a short "community list" it'd be rather helpful for the whole community.
Yes, I confirm that! Thank you!
BTW, the image in the top of the article is not visible:
Yes. But docker-compose provides the mapping of PWS server (9092 in my case), so the web apps based on it should be reached out via 9092 in the host system. Even more - the FHIR SQL Builder setup application is running on 9092 port, but the settings should be on 52773.
Hi @Enrico Parisi !
Where do you see these rules? I agree, they are quite strange, but some customers of ObjectScript quality use them.
Anyway, the rule set we use for the community is here - there are only 12 rules currently.

Great idea! @xuanyou du , installed your app via ipm.
Cannot open settings after that:.png)
Clicking on settings doesn't react
Hi @Brenna Quirk ! Yes, Graph builder, a part of ClinFHIR is the app we invite FHIR developers to use.
Great app, @Yuri Marx !
It's be great to use it as a module to visualize the data on InterSystems FHIR server
This worked finally!
With the next step I'm trying to import file. the instruction in the repo doesn't tell where can I find it:

52773 worked. Even I have 9092 port mapped for the host system. This was not very obvious. Thank you!