Question Marlin Mixon · May 10, 2023

I am having a difficult time trying to get DEBUGGING tags working in my xslt transform.

Here are snippets of the xslt I am using:

namespace declaration:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:isc="http://extension-functions.intersystems.com" xmlns:hl7="urn:hl7-org:v3" xmlns:sdtc="urn:hl7-org:sdtc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:exsl="http://exslt.org/common" exclude-result-prefixes="isc hl7 sdtc xsi xsl">

template:

I am having a difficult time trying to get DEBUGGING tags working in my xslt transform.Here are snippets of the xslt I am using:namespace declaration:<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:isc="http://extension-functions.intersystems.com" xmlns:hl7="urn:hl7-org:v3" xmlns:sdtc="urn:hl7-org:sdtc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:exsl="http://exslt.org/common" exclude-result-prefixes="isc hl7 sdtc xsi xsl">template:        <xsl:template match="hl7:representedOrganization/hl7:id" mode="CHRISTUSPreProcessor">

3
0 329
Question Marlin Mixon · Mar 10, 2022

Please, I am having trouble connecting to one of several Health Share servers using ISC's Visual Studio Code add-on.

Installation seemed to go smoothly.  I have InterSystems's Studio and was able to automatically pull in my existing connections.  However when I try to make a connection it fails.  

Here is a configuration of one connection slightly edited for security:

        "xxxx-hsiecommon-base": {

            "description": "This has been created by the CCR system export.",

            "username": "therock",

            "webServer": {

                "host": "mongo.il.intersystems.com",

Please, I am having trouble connecting to one of several Health Share servers using ISC's Visual Studio Code add-on. Installation seemed to go smoothly.  I have InterSystems's Studio and was able to automatically pull in my existing connections.  However when I try to make a connection it fails.

3
0 846
Question Marlin Mixon · Nov 4, 2021

At the recent virtual conference I saw the demonstration on being able to run Python within ObjectScript and run ObjectScript within Python thanks to a feature called Language Bridge.  Is this available now? If so, am I able to install it?  I am currently running HealthShare 2020.1.  I have a little bit of experience using Irisnative with Python but was intrigued with the more seamless-looking features offered by the Language Bridge.

Thanks for any insight.

Marlin Mixon

5
0 340
Question Marlin Mixon · Sep 26, 2021

I have a %Stream that I want to insert some text into the middle of.  I create a new stream called pNewContentStream from the original stream, then I do a MoveTo in pNewContentStream to get to the byte position I want to insert into but when I do my Write, my pNewContentStream gets obliterated with only the text that I wrote, the original content goes away and all I'm left with is my Write text.

Method AddContentTypeCode4(pContentStream As %Stream.GlobalCharacter, Output pNewContentStream As %Stream.GlobalCharacter) As %Status{Set tStatus = $$$OKtry {Set tTemp = pContentStream.Read()
17
0 812
Question Marlin Mixon · Apr 14, 2021

Is there a way to automatically transform Object Script arrays to Python lists?  This code results in a list of arrays

Iter0 =  dbnative.iterator("HS.Data.OIDMapD")
for subscript, value in Iter0.items():
    print(f"subscript={subscript}, value={value}")

Here is the result:

subscript=1, value=2.16.840.1.113883.3.86ISCInterSystems Corporation

I suppose it would be too hard to parse this into a list, I was just wondering if there was a function provided to make it convenient and proper.

Thanks,

Marlin Mixon

2
0 304
Question Marlin Mixon · Apr 13, 2021

I was interested in accessing IRIS (Healthshare) using Python.  I found instructions how to this here: https://github.com/intersystems/quickstarts-python/tree/master/Solution…

The installation went well using pip and when python executes "import irisnative" it works fine.  It just fails with a connection timeout when I try "irisnative.createConnection(...)."  Below is my code:

I was interested in accessing IRIS (Healthshare) using Python.  I found instructions how to this here: https://github.com/intersystems/quickstarts-python/tree/master/Solutions/nativeAPI_wheelThe installation went well using pip and when python executes "import irisnative" it works fine.
3
0 342
Question Marlin Mixon · Sep 30, 2020

Hi all, I am having problems trying to get Docker to run correctly on my Linux Mint machine.

I did the following:

1. Installed Docker.

docker --version

Docker version 19.03.6, build 369ce74a3c


docker-compose -v

docker-compose version 1.17.1, build unknown

2. Downloaded zip from https://github.com/intersystems-community/iris-fullstack-template/tree/42f9c174a9a4e63cb5eb3eb646abf3930a6e4d31

and unzipped it

3. Entered the following command:

docker-compose up -d

This generated the following error:

Hi all, I am having problems trying to get Docker to run correctly on my Linux Mint machine.I did the following:1. Installed Docker. docker --versionDocker version 19.03.6, build 369ce74a3cdocker-compose -vdocker-compose version 1.17.1, build unknown2. Downloaded zip from https://github.com/intersystems-community/iris-fullstack-template/tree/… unzipped it3. Entered the following command:docker-compose up -dThis generated the following error:ERROR: Version in "./docker-compose.yml" is unsupported.

1
0 462