Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Is knowledge knowable? If not, how do we know that?


devel / comp.lang.mumps / Re: YottaDB zwrite question

SubjectAuthor
* YottaDB zwrite questionkdtop
+* Re: YottaDB zwrite questionDavid Wicksell
|`* Re: YottaDB zwrite questionDavid Wicksell
| `* Re: YottaDB zwrite questionSam Habiel
|  `- Re: YottaDB zwrite questionkdtop
`* Re: YottaDB zwrite questionOldMster
 `- Re: YottaDB zwrite questionkdtop

1
YottaDB zwrite question

<d856a50a-94ca-4c79-a8df-af6b430245d0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=557&group=comp.lang.mumps#557

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:620a:2b4a:b0:773:ae49:954b with SMTP id dp10-20020a05620a2b4a00b00773ae49954bmr169743qkb.12.1694990599126;
Sun, 17 Sep 2023 15:43:19 -0700 (PDT)
X-Received: by 2002:a05:6808:20a7:b0:3a3:8c81:a86f with SMTP id
s39-20020a05680820a700b003a38c81a86fmr3341912oiw.7.1694990598868; Sun, 17 Sep
2023 15:43:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Sun, 17 Sep 2023 15:43:18 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=173.164.29.153; posting-account=siWvwQoAAACYCGtn7kPrEYinJEra-Oc0
NNTP-Posting-Host: 173.164.29.153
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d856a50a-94ca-4c79-a8df-af6b430245d0n@googlegroups.com>
Subject: YottaDB zwrite question
From: kdtop3@gmail.com (kdtop)
Injection-Date: Sun, 17 Sep 2023 22:43:19 +0000
Content-Type: text/plain; charset="UTF-8"
 by: kdtop - Sun, 17 Sep 2023 22:43 UTC

I was debugging an HL7 import and it was choking on tab characters.

But while debugging, I encountered something I don't understand. When I ask YottaDB to zwrite the contents of my variable, TMGVALUE, is displays an extra ";*' at the end of the line.

I demonstrate below that the string does not seem to actually contain any characters after the $C(9)
-------------------------------
yottadb>ZWR TMGVALUE
TMGVALUE="HIV Below LLoQ Note SEE BELOW"_$C(9) ;*

yottadb>F XX=1:1:$LENGTH(TMGVALUE) S XXX=$E(TMGVALUE,XX) W !,XXX," [",$ASCII(XXX
),"]"

H [72]
I [73]
V [86]
[32]
B [66]
e [101]
l [108]
o [111]
w [119]
[32]
L [76]
L [76]
o [111]
Q [81]
[32]
N [78]
o [111]
t [116]
e [101]
[32]
S [83]
E [69]
E [69]
[32]
B [66]
E [69]
L [76]
O [79]
W [87]
[9]
yottadb>ZWRITE TMGVALUE
TMGVALUE="HIV Below LLoQ Note SEE BELOW"_$C(9) ;*

yottadb>W "[",TMGVALUE,"]"
[HIV Below LLoQ Note SEE BELOW ]
yottadb>

-------------------------------
I then wondered if this was the way it always works, so do a simple assignment and repeat. Now the ";*" is missing
-------------------------------

yottadb>set zz="hello"

yottadb>zwr zz
zz="hello"

yottadb>
-------------------------------

I then checked what would happen if I assign this variable to another. Note that after copying the variable, the ";*" is gone.

-------------------------------

yottadb>SET ZZ=TMGVALUE

yottadb>ZWR ZZ
ZZ="HIV Below LLoQ Note SEE BELOW"_$C(9)

yottadb>ZWR TMGVALUE
TMGVALUE="HIV Below LLoQ Note SEE BELOW"_$C(9) ;*

yottadb>ZWR TMGVALUE,ZZ
TMGVALUE="HIV Below LLoQ Note SEE BELOW"_$C(9) ;*
ZZ="HIV Below LLoQ Note SEE BELOW"_$C(9)

yottadb>ZWR ZZ,TMGVALUE
ZZ="HIV Below LLoQ Note SEE BELOW"_$C(9)
TMGVALUE="HIV Below LLoQ Note SEE BELOW"_$C(9) ;*

yottadb>

-------------------------------

As far as I can tell, there does not actually seem to be any hidden character at the end of the string. I think this must be some weird display bug.

yottadb>w $ZVER
GT.M V6.3-008 Linux x86_64
yottadb>

Any thoughts??

Kevin T

Re: YottaDB zwrite question

<be9f7ea4-cb2c-4aea-8c0e-f0a865e6973fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=558&group=comp.lang.mumps#558

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:620a:828d:b0:76d:8856:b878 with SMTP id ox13-20020a05620a828d00b0076d8856b878mr148324qkn.5.1694995041251;
Sun, 17 Sep 2023 16:57:21 -0700 (PDT)
X-Received: by 2002:a9d:6396:0:b0:6bb:102d:1ff6 with SMTP id
w22-20020a9d6396000000b006bb102d1ff6mr2211221otk.1.1694995040851; Sun, 17 Sep
2023 16:57:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Sun, 17 Sep 2023 16:57:20 -0700 (PDT)
In-Reply-To: <d856a50a-94ca-4c79-a8df-af6b430245d0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:8c1:8083:7060:1983:bab6:d9bf:6256;
posting-account=PsiyswoAAAC8oeIre1Ec56jiRFgjerM6
NNTP-Posting-Host: 2601:8c1:8083:7060:1983:bab6:d9bf:6256
References: <d856a50a-94ca-4c79-a8df-af6b430245d0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <be9f7ea4-cb2c-4aea-8c0e-f0a865e6973fn@googlegroups.com>
Subject: Re: YottaDB zwrite question
From: dlwicksell@gmail.com (David Wicksell)
Injection-Date: Sun, 17 Sep 2023 23:57:21 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1483
 by: David Wicksell - Sun, 17 Sep 2023 23:57 UTC

Hi Kevin,

Look at alias variables in the documentation. Here is a link to the ``zwrite command output for alias variables, which
should help you understand. https://docs.yottadb.com/ProgrammersGuide/commands.html#zwrite-format-alias-vars
I hope that helps.

--
David Wicksell
Fourth Watch Software LC

Re: YottaDB zwrite question

<0377ad34-b03f-40df-9392-7e70ab3dd0b1n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=559&group=comp.lang.mumps#559

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a37:5887:0:b0:76a:93b1:52a7 with SMTP id m129-20020a375887000000b0076a93b152a7mr156066qkb.3.1694995215853;
Sun, 17 Sep 2023 17:00:15 -0700 (PDT)
X-Received: by 2002:a05:6808:1282:b0:3a7:392a:7405 with SMTP id
a2-20020a056808128200b003a7392a7405mr3352854oiw.2.1694995215548; Sun, 17 Sep
2023 17:00:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Sun, 17 Sep 2023 17:00:15 -0700 (PDT)
In-Reply-To: <be9f7ea4-cb2c-4aea-8c0e-f0a865e6973fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:8c1:8083:7060:1983:bab6:d9bf:6256;
posting-account=PsiyswoAAAC8oeIre1Ec56jiRFgjerM6
NNTP-Posting-Host: 2601:8c1:8083:7060:1983:bab6:d9bf:6256
References: <d856a50a-94ca-4c79-a8df-af6b430245d0n@googlegroups.com> <be9f7ea4-cb2c-4aea-8c0e-f0a865e6973fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0377ad34-b03f-40df-9392-7e70ab3dd0b1n@googlegroups.com>
Subject: Re: YottaDB zwrite question
From: dlwicksell@gmail.com (David Wicksell)
Injection-Date: Mon, 18 Sep 2023 00:00:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 15
 by: David Wicksell - Mon, 18 Sep 2023 00:00 UTC

On Sunday, September 17, 2023 at 5:57:22 PM UTC-6, David Wicksell wrote:
> Hi Kevin,
>
> Look at alias variables in the documentation. Here is a link to the ``zwrite command output for alias variables, which
> should help you understand. https://docs.yottadb.com/ProgrammersGuide/commands.html#zwrite-format-alias-vars
> I hope that helps.
>
> --
> David Wicksell
> Fourth Watch Software LC

https://docs.yottadb.com/ProgrammersGuide/langext.html#alias-variable-extensions

Re: YottaDB zwrite question

<9e867979-dca1-49d2-90b2-762eefff0a4en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=560&group=comp.lang.mumps#560

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:620a:8b86:b0:76f:130a:c957 with SMTP id qx6-20020a05620a8b8600b0076f130ac957mr163319qkn.11.1695040362812;
Mon, 18 Sep 2023 05:32:42 -0700 (PDT)
X-Received: by 2002:a9d:7a92:0:b0:6b7:4ec4:cbb1 with SMTP id
l18-20020a9d7a92000000b006b74ec4cbb1mr2552631otn.7.1695040362480; Mon, 18 Sep
2023 05:32:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Mon, 18 Sep 2023 05:32:42 -0700 (PDT)
In-Reply-To: <0377ad34-b03f-40df-9392-7e70ab3dd0b1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=71.162.243.192; posting-account=1RT8nQoAAAAj9lvLkm8f9L-U6g6gYLit
NNTP-Posting-Host: 71.162.243.192
References: <d856a50a-94ca-4c79-a8df-af6b430245d0n@googlegroups.com>
<be9f7ea4-cb2c-4aea-8c0e-f0a865e6973fn@googlegroups.com> <0377ad34-b03f-40df-9392-7e70ab3dd0b1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9e867979-dca1-49d2-90b2-762eefff0a4en@googlegroups.com>
Subject: Re: YottaDB zwrite question
From: sam.habiel@gmail.com (Sam Habiel)
Injection-Date: Mon, 18 Sep 2023 12:32:42 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2036
 by: Sam Habiel - Mon, 18 Sep 2023 12:32 UTC

On Sunday, September 17, 2023 at 8:00:16 PM UTC-4, David Wicksell wrote:
> On Sunday, September 17, 2023 at 5:57:22 PM UTC-6, David Wicksell wrote:
> > Hi Kevin,
> >
> > Look at alias variables in the documentation. Here is a link to the ``zwrite command output for alias variables, which
> > should help you understand. https://docs.yottadb.com/ProgrammersGuide/commands.html#zwrite-format-alias-vars
> > I hope that helps.
> >
> > --
> > David Wicksell
> > Fourth Watch Software LC
> https://docs.yottadb.com/ProgrammersGuide/langext.html#alias-variable-extensions

David is correct, with a small caveat: This is a passed by referenced variable, which is a kind of alias variable.

Re: YottaDB zwrite question

<cc672f9a-1584-4692-a45e-3b9acaee2a70n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=561&group=comp.lang.mumps#561

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:620a:4405:b0:76d:ada1:d841 with SMTP id v5-20020a05620a440500b0076dada1d841mr8021qkp.7.1695061849673;
Mon, 18 Sep 2023 11:30:49 -0700 (PDT)
X-Received: by 2002:a05:6808:1a13:b0:3ac:abba:fa5b with SMTP id
bk19-20020a0568081a1300b003acabbafa5bmr4223226oib.1.1695061849393; Mon, 18
Sep 2023 11:30:49 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Mon, 18 Sep 2023 11:30:48 -0700 (PDT)
In-Reply-To: <9e867979-dca1-49d2-90b2-762eefff0a4en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=173.164.29.153; posting-account=siWvwQoAAACYCGtn7kPrEYinJEra-Oc0
NNTP-Posting-Host: 173.164.29.153
References: <d856a50a-94ca-4c79-a8df-af6b430245d0n@googlegroups.com>
<be9f7ea4-cb2c-4aea-8c0e-f0a865e6973fn@googlegroups.com> <0377ad34-b03f-40df-9392-7e70ab3dd0b1n@googlegroups.com>
<9e867979-dca1-49d2-90b2-762eefff0a4en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cc672f9a-1584-4692-a45e-3b9acaee2a70n@googlegroups.com>
Subject: Re: YottaDB zwrite question
From: kdtop3@gmail.com (kdtop)
Injection-Date: Mon, 18 Sep 2023 18:30:49 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3183
 by: kdtop - Mon, 18 Sep 2023 18:30 UTC

On Monday, September 18, 2023 at 8:32:43 AM UTC-4, Sam Habiel wrote:
> On Sunday, September 17, 2023 at 8:00:16 PM UTC-4, David Wicksell wrote:
> > On Sunday, September 17, 2023 at 5:57:22 PM UTC-6, David Wicksell wrote:
> > > Hi Kevin,
> > >
> > > Look at alias variables in the documentation. Here is a link to the ``zwrite command output for alias variables, which
> > > should help you understand. https://docs.yottadb.com/ProgrammersGuide/commands.html#zwrite-format-alias-vars
> > > I hope that helps.
> > >
> > > --
> > > David Wicksell
> > > Fourth Watch Software LC
> > https://docs.yottadb.com/ProgrammersGuide/langext.html#alias-variable-extensions
> David is correct, with a small caveat: This is a passed by referenced variable, which is a kind of alias variable.

Thank you David and Sam,

It is weird how I can have been using gtm/Yottadb mumps for all this time and never realized that it is possible to have alias variables.

In the yottadb reference, that David gave, there is this:

YDB>kill A,B
YDB>set A=1,*B=A ; B & A are aliases
YDB>write B
1 YDB>

I understand that variable B is the same as A. But I don't understand why BOTH are considered an alias. I would normally think of A as the normal variable and B to be the alias to A. But since both variables A and B are probably really pointers to the same memory, then I guess they are both considered aliases? So I tested this:

yottadb>kill A,B
yottadb>set A=1
yottadb>zwr A
A=1 <----------------- not displayed as alias
yottadb>set *B=A
yottadb>zwr A
A=1 ;* <----------------- now IS displayed as alias
yottadb>zwr B
B=1 ;*

It looks like the status of A does change when an alias is created.

Thanks
Kevin

Re: YottaDB zwrite question

<b1820d41-ca44-4fc3-baa3-77f2e5df8862n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=562&group=comp.lang.mumps#562

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:622a:1992:b0:417:981f:d56 with SMTP id u18-20020a05622a199200b00417981f0d56mr232238qtc.1.1695066012065;
Mon, 18 Sep 2023 12:40:12 -0700 (PDT)
X-Received: by 2002:a05:6808:1a13:b0:3a8:4311:3d7f with SMTP id
bk19-20020a0568081a1300b003a843113d7fmr4441261oib.5.1695066011820; Mon, 18
Sep 2023 12:40:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Mon, 18 Sep 2023 12:40:11 -0700 (PDT)
In-Reply-To: <d856a50a-94ca-4c79-a8df-af6b430245d0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.249.135.41; posting-account=B5cu_goAAACZo0vIvp9ba07OhA0t6wHW
NNTP-Posting-Host: 50.249.135.41
References: <d856a50a-94ca-4c79-a8df-af6b430245d0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b1820d41-ca44-4fc3-baa3-77f2e5df8862n@googlegroups.com>
Subject: Re: YottaDB zwrite question
From: sires.mark@gmail.com (OldMster)
Injection-Date: Mon, 18 Sep 2023 19:40:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 127
 by: OldMster - Mon, 18 Sep 2023 19:40 UTC

On Sunday, September 17, 2023 at 6:43:20 PM UTC-4, kdtop wrote:
> I was debugging an HL7 import and it was choking on tab characters.
>
> But while debugging, I encountered something I don't understand. When I ask YottaDB to zwrite the contents of my variable, TMGVALUE, is displays an extra ";*' at the end of the line.
>
> I demonstrate below that the string does not seem to actually contain any characters after the $C(9)
> -------------------------------
> yottadb>ZWR TMGVALUE
> TMGVALUE="HIV Below LLoQ Note SEE BELOW"_$C(9) ;*
>
> yottadb>F XX=1:1:$LENGTH(TMGVALUE) S XXX=$E(TMGVALUE,XX) W !,XXX," [",$ASCII(XXX
> ),"]"
>
> H [72]
> I [73]
> V [86]
> [32]
> B [66]
> e [101]
> l [108]
> o [111]
> w [119]
> [32]
> L [76]
> L [76]
> o [111]
> Q [81]
> [32]
> N [78]
> o [111]
> t [116]
> e [101]
> [32]
> S [83]
> E [69]
> E [69]
> [32]
> B [66]
> E [69]
> L [76]
> O [79]
> W [87]
> [9]
> yottadb>ZWRITE TMGVALUE
> TMGVALUE="HIV Below LLoQ Note SEE BELOW"_$C(9) ;*
>
> yottadb>W "[",TMGVALUE,"]"
> [HIV Below LLoQ Note SEE BELOW ]
> yottadb>
>
> -------------------------------
> I then wondered if this was the way it always works, so do a simple assignment and repeat. Now the ";*" is missing
> -------------------------------
>
> yottadb>set zz="hello"
>
> yottadb>zwr zz
> zz="hello"
>
> yottadb>
> -------------------------------
>
> I then checked what would happen if I assign this variable to another. Note that after copying the variable, the ";*" is gone.
>
> -------------------------------
>
> yottadb>SET ZZ=TMGVALUE
>
> yottadb>ZWR ZZ
> ZZ="HIV Below LLoQ Note SEE BELOW"_$C(9)
>
> yottadb>ZWR TMGVALUE
> TMGVALUE="HIV Below LLoQ Note SEE BELOW"_$C(9) ;*
>
> yottadb>ZWR TMGVALUE,ZZ
> TMGVALUE="HIV Below LLoQ Note SEE BELOW"_$C(9) ;*
> ZZ="HIV Below LLoQ Note SEE BELOW"_$C(9)
>
> yottadb>ZWR ZZ,TMGVALUE
> ZZ="HIV Below LLoQ Note SEE BELOW"_$C(9)
> TMGVALUE="HIV Below LLoQ Note SEE BELOW"_$C(9) ;*
>
> yottadb>
>
> -------------------------------
>
> As far as I can tell, there does not actually seem to be any hidden character at the end of the string. I think this must be some weird display bug.
>
> yottadb>w $ZVER
> GT.M V6.3-008 Linux x86_64
> yottadb>
>
>
> Any thoughts??
>
> Kevin T
Kevin,
Unless the lab has specified a different character set in the MSH segment, this should be reported to them as a bug. Default HL7 does not allow non-printable characters in the data. From the HL7 encoding rules in section 1.6.1 of version 2.31:

All data is represented as displayable characters from a selected character set. The ASCII displayable
character set (hexadecimal values between 20 and 7E, inclusive) is the default character set unless
modified in the MSH header segment. The field separator is required to be chosen from the ASCII
displayable character set. All the other special separators and other special characters are also displayable
characters, except that the segment separator is the ASCII Carriage Return character.

It's one of my pet peeves with reference labs in particular. As a lab vendor, I take a lot of pains to make sure the data we send in HL7 is both compliant and useable. Too many these days expect other systems to magically use the same character font and kerning so their highly formatted canned text will display/print properly.

Mark

Re: YottaDB zwrite question

<9d55df8e-2782-4392-b308-2d73527336a6n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=563&group=comp.lang.mumps#563

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:6214:5182:b0:655:bc95:943d with SMTP id kl2-20020a056214518200b00655bc95943dmr25030qvb.4.1695072380280;
Mon, 18 Sep 2023 14:26:20 -0700 (PDT)
X-Received: by 2002:a9d:624a:0:b0:6b8:6f61:5f61 with SMTP id
i10-20020a9d624a000000b006b86f615f61mr3108891otk.6.1695072380010; Mon, 18 Sep
2023 14:26:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Mon, 18 Sep 2023 14:26:19 -0700 (PDT)
In-Reply-To: <b1820d41-ca44-4fc3-baa3-77f2e5df8862n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=173.164.29.153; posting-account=siWvwQoAAACYCGtn7kPrEYinJEra-Oc0
NNTP-Posting-Host: 173.164.29.153
References: <d856a50a-94ca-4c79-a8df-af6b430245d0n@googlegroups.com> <b1820d41-ca44-4fc3-baa3-77f2e5df8862n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9d55df8e-2782-4392-b308-2d73527336a6n@googlegroups.com>
Subject: Re: YottaDB zwrite question
From: kdtop3@gmail.com (kdtop)
Injection-Date: Mon, 18 Sep 2023 21:26:20 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: kdtop - Mon, 18 Sep 2023 21:26 UTC

On Monday, September 18, 2023 at 3:40:13 PM UTC-4, OldMster wrote:
....

> Unless the lab has specified a different character set in the MSH segment, this should be reported to them as a bug. Default HL7 does not allow non-printable characters in the data. From the HL7 encoding rules in section 1.6.1 of version 2.31:
>
> All data is represented as displayable characters from a selected character set. The ASCII displayable
> character set (hexadecimal values between 20 and 7E, inclusive) is the default character set unless
> modified in the MSH header segment. The field separator is required to be chosen from the ASCII
> displayable character set. All the other special separators and other special characters are also displayable
> characters, except that the segment separator is the ASCII Carriage Return character.
>
> It's one of my pet peeves with reference labs in particular. As a lab vendor, I take a lot of pains to make sure the data we send in HL7 is both compliant and useable. Too many these days expect other systems to magically use the same character font and kerning so their highly formatted canned text will display/print properly.
>
> Mark

Mark, I think this discussion would be better included in the discussion on Hardhats. I'll respond there.

Kevin

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor