Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"You can't get very far in this world without your dossier being there first." -- Arthur Miller


devel / comp.lang.mumps / MUMPS - Export to xml - Integration

SubjectAuthor
* MUMPS - Export to xml - IntegrationTI HRTGB
`* Re: MUMPS - Export to xml - Integrationed de moel
 `* Re: MUMPS - Export to xml - IntegrationTI HRTGB
  `* Re: MUMPS - Export to xml - Integrationed de moel
   `* Re: MUMPS - Export to xml - IntegrationTI HRTGB
    `* Re: MUMPS - Export to xml - Integrationed de moel
     `* Re: MUMPS - Export to xml - IntegrationTI HRTGB
      `* Re: MUMPS - Export to xml - IntegrationFlávio Fornazier
       `* Re: MUMPS - Export to xml - IntegrationTI HRTGB
        `- Re: MUMPS - Export to xml - IntegrationFlávio Fornazier

1
MUMPS - Export to xml - Integration

<c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:6214:20ab:b0:45a:cb44:7d44 with SMTP id 11-20020a05621420ab00b0045acb447d44mr850697qvd.63.1652378039811;
Thu, 12 May 2022 10:53:59 -0700 (PDT)
X-Received: by 2002:ac8:570c:0:b0:2f3:b76e:1ad2 with SMTP id
12-20020ac8570c000000b002f3b76e1ad2mr947227qtw.143.1652378039567; Thu, 12 May
2022 10:53:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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: Thu, 12 May 2022 10:53:59 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=187.33.162.234; posting-account=KE40BQoAAAD74QGN0hDiUgmcO9a9MRAb
NNTP-Posting-Host: 187.33.162.234
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com>
Subject: MUMPS - Export to xml - Integration
From: ti.hrtgb2@gmail.com (TI HRTGB)
Injection-Date: Thu, 12 May 2022 17:53:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1692
 by: TI HRTGB - Thu, 12 May 2022 17:53 UTC

Hello, I need to export the data generated in the MUMPS system with a unique key for each appointment made. Data needs to be exported in XML, can I do that in MUMPS? Can anyone help me? The data I need to export in XML format is accession_number Each exam has a unique identifier, if the patient performs more than one exam on the same day, each one will have a different Accession Number.

patient_id - Unique identifier of the exam

accession_number - Patient identifier

patient_name - Patient's name

patient_birthdate - Patient's date of birth Example: YYYYMMDD

patient_sex - Patient's gender

patient_weight - Patient weight

Thx

Re: MUMPS - Export to xml - Integration

<e9140f3f-d5d7-4a7e-a222-032f560b2107n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:ac8:7fd0:0:b0:2f3:fda4:6ddf with SMTP id b16-20020ac87fd0000000b002f3fda46ddfmr1435308qtk.323.1652385341928;
Thu, 12 May 2022 12:55:41 -0700 (PDT)
X-Received: by 2002:a05:6214:20af:b0:458:663f:ddf5 with SMTP id
15-20020a05621420af00b00458663fddf5mr1327944qvd.113.1652385341718; Thu, 12
May 2022 12:55:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.swapon.de!news.mixmin.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: Thu, 12 May 2022 12:55:41 -0700 (PDT)
In-Reply-To: <c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=71.174.62.16; posting-account=j7lJmQoAAADTx0Apfk15DZ7D0qlYy4zv
NNTP-Posting-Host: 71.174.62.16
References: <c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e9140f3f-d5d7-4a7e-a222-032f560b2107n@googlegroups.com>
Subject: Re: MUMPS - Export to xml - Integration
From: eddemoel@gmail.com (ed de moel)
Injection-Date: Thu, 12 May 2022 19:55:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: ed de moel - Thu, 12 May 2022 19:55 UTC

Are you sure the meanings of patient_id and accession_number are not interchanged?
Anyway, with the above specification, I'd end up with a code-snipper like this:
(please note that this medium reduces multiple spaces to single ones...)

;
Set xmlfile="...destinstionfolder.../filename.xml"
Open xmlfile:newfile ; If you're using GT.M
Open xmlfile:"wns" ; If you're using Caché or IRIS
Use xmlfile
Write "<!DOCTYPE ...>",! ; Fill in whatever document type is needed for your applicatiom
Write "<xml ...>",! ; Fill in whatever XML header is needed for your application
; let's assume for this example that your appointments
; are stored in a global variable named ^Appointment(date,...)
; Of course, in your system, that name will be different
Set startdate="???" ; fill in your startdate
Set enddate="???" ; fill in your enddate
Set date=startdate For Do Set date=$Order(^Appointment(date)) Quit:date="" Quit:date>enddate
. Set appointment="" For Set appointment=$Order(^Appointment(date,appointment)) Quit:appointment="" Do
. . Write " <appointment>",!
. . Set value="..." ; extract the Unique identifier of the exam from the appointment data
. . Write " <patient_id>"_value_"</patient_id>",!
. . Set value="..." ; extract the Patient identifier from the appointment data
. . Write " <accession_number>"_value_"</accession_number>",!
. . Set value="..." ; extract the Patient's name from the appointment data
. . Write " <patient_name>"_value_"</patient_name>",!
. . Set value="..." ; extract the Patient's date of birth from the appointment data and reformat it as YYYYMMDD
. . Write " <patient_birthdate>"_value_"</patient_birthdate>",!
. . Set value="..." ; extract the Patient's gender from the appointment data
. . Write " <patient_sex>"_value_"</patient_sex>",!
. . Set value="..." ; extract the Patient weight from the appointment data
. . Write " <patient_weight>"_value_"</patient_weight>",!
. . Write " </appointment>",!
. . Quit
. Quit
Write "</xml>",!
Close xmlfile
;

Re: MUMPS - Export to xml - Integration

<7c2c3e76-b7a1-40ca-9091-c555982ac6c3n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:6214:4104:b0:42c:1db0:da28 with SMTP id kc4-20020a056214410400b0042c1db0da28mr3956278qvb.67.1652443814753;
Fri, 13 May 2022 05:10:14 -0700 (PDT)
X-Received: by 2002:a05:622a:1a90:b0:2f3:bb56:5a1d with SMTP id
s16-20020a05622a1a9000b002f3bb565a1dmr4167511qtc.127.1652443814137; Fri, 13
May 2022 05:10:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.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: Fri, 13 May 2022 05:10:13 -0700 (PDT)
In-Reply-To: <e9140f3f-d5d7-4a7e-a222-032f560b2107n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=187.33.162.234; posting-account=KE40BQoAAAD74QGN0hDiUgmcO9a9MRAb
NNTP-Posting-Host: 187.33.162.234
References: <c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com> <e9140f3f-d5d7-4a7e-a222-032f560b2107n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7c2c3e76-b7a1-40ca-9091-c555982ac6c3n@googlegroups.com>
Subject: Re: MUMPS - Export to xml - Integration
From: ti.hrtgb2@gmail.com (TI HRTGB)
Injection-Date: Fri, 13 May 2022 12:10:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4148
 by: TI HRTGB - Fri, 13 May 2022 12:10 UTC

Em quinta-feira, 12 de maio de 2022 às 16:55:42 UTC-3, ed de moel escreveu:
> Are you sure the meanings of patient_id and accession_number are not interchanged?
> Anyway, with the above specification, I'd end up with a code-snipper like this:
> (please note that this medium reduces multiple spaces to single ones...)
>
> ;
> Set xmlfile="...destinstionfolder.../filename.xml"
> Open xmlfile:newfile ; If you're using GT.M
> Open xmlfile:"wns" ; If you're using Caché or IRIS
> Use xmlfile
> Write "<!DOCTYPE ...>",! ; Fill in whatever document type is needed for your applicatiom
> Write "<xml ...>",! ; Fill in whatever XML header is needed for your application
> ; let's assume for this example that your appointments
> ; are stored in a global variable named ^Appointment(date,...)
> ; Of course, in your system, that name will be different
> Set startdate="???" ; fill in your startdate
> Set enddate="???" ; fill in your enddate
> Set date=startdate For Do Set date=$Order(^Appointment(date)) Quit:date="" Quit:date>enddate
> . Set appointment="" For Set appointment=$Order(^Appointment(date,appointment)) Quit:appointment="" Do
> . . Write " <appointment>",!
> . . Set value="..." ; extract the Unique identifier of the exam from the appointment data
> . . Write " <patient_id>"_value_"</patient_id>",!
> . . Set value="..." ; extract the Patient identifier from the appointment data
> . . Write " <accession_number>"_value_"</accession_number>",!
> . . Set value="..." ; extract the Patient's name from the appointment data
> . . Write " <patient_name>"_value_"</patient_name>",!
> . . Set value="..." ; extract the Patient's date of birth from the appointment data and reformat it as YYYYMMDD
> . . Write " <patient_birthdate>"_value_"</patient_birthdate>",!
> . . Set value="..." ; extract the Patient's gender from the appointment data
> . . Write " <patient_sex>"_value_"</patient_sex>",!
> . . Set value="..." ; extract the Patient weight from the appointment data
> . . Write " <patient_weight>"_value_"</patient_weight>",!
> . . Write " </appointment>",!
> . . Quit
> . Quit
> Write "</xml>",!
> Close xmlfile
> ;

Hello, I need to generate an xml file for each request in a folder on my corporate network and I must ensure that XMLS files are not generated for the already integrated schedules, is it possible?
The patient_id field refers to the patient's medical record number. It is a unique number for each patient. The accession_number field refers to the identification number of the exam that the patient is performing, if the patient performs 2 exams on the same day, the accession_number must be used to identify the 2 different exams.

Re: MUMPS - Export to xml - Integration

<a741ad20-24dc-4537-a0d1-3e80a1c65f32n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:620a:d87:b0:67b:311c:ecbd with SMTP id q7-20020a05620a0d8700b0067b311cecbdmr4084738qkl.146.1652455273661;
Fri, 13 May 2022 08:21:13 -0700 (PDT)
X-Received: by 2002:a05:622a:1a90:b0:2f3:bb56:5a1d with SMTP id
s16-20020a05622a1a9000b002f3bb565a1dmr5058396qtc.127.1652455273415; Fri, 13
May 2022 08:21:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.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: Fri, 13 May 2022 08:21:13 -0700 (PDT)
In-Reply-To: <7c2c3e76-b7a1-40ca-9091-c555982ac6c3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=71.174.62.16; posting-account=j7lJmQoAAADTx0Apfk15DZ7D0qlYy4zv
NNTP-Posting-Host: 71.174.62.16
References: <c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com>
<e9140f3f-d5d7-4a7e-a222-032f560b2107n@googlegroups.com> <7c2c3e76-b7a1-40ca-9091-c555982ac6c3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a741ad20-24dc-4537-a0d1-3e80a1c65f32n@googlegroups.com>
Subject: Re: MUMPS - Export to xml - Integration
From: eddemoel@gmail.com (ed de moel)
Injection-Date: Fri, 13 May 2022 15:21:13 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1316
 by: ed de moel - Fri, 13 May 2022 15:21 UTC

It is possible?
Of course: just modify the above example accordingly.

Re: MUMPS - Export to xml - Integration

<6ad2a1dc-288f-40c6-96f6-a837c34cb600n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a0c:fd8d:0:b0:456:3481:603c with SMTP id p13-20020a0cfd8d000000b004563481603cmr5521506qvr.69.1652461366467;
Fri, 13 May 2022 10:02:46 -0700 (PDT)
X-Received: by 2002:a05:622a:613:b0:2f3:f918:280a with SMTP id
z19-20020a05622a061300b002f3f918280amr5624374qta.216.1652461366078; Fri, 13
May 2022 10:02:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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: Fri, 13 May 2022 10:02:45 -0700 (PDT)
In-Reply-To: <a741ad20-24dc-4537-a0d1-3e80a1c65f32n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=200.17.81.22; posting-account=KE40BQoAAAD74QGN0hDiUgmcO9a9MRAb
NNTP-Posting-Host: 200.17.81.22
References: <c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com>
<e9140f3f-d5d7-4a7e-a222-032f560b2107n@googlegroups.com> <7c2c3e76-b7a1-40ca-9091-c555982ac6c3n@googlegroups.com>
<a741ad20-24dc-4537-a0d1-3e80a1c65f32n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6ad2a1dc-288f-40c6-96f6-a837c34cb600n@googlegroups.com>
Subject: Re: MUMPS - Export to xml - Integration
From: ti.hrtgb2@gmail.com (TI HRTGB)
Injection-Date: Fri, 13 May 2022 17:02:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1581
 by: TI HRTGB - Fri, 13 May 2022 17:02 UTC

Em sexta-feira, 13 de maio de 2022 às 12:21:14 UTC-3, ed de moel escreveu:
> It is possible?
> Of course: just modify the above example accordingly.

Perfect, I will carry out the tests..
Thank you very much friend..

Re: MUMPS - Export to xml - Integration

<38ad66db-f710-4bbd-922c-250908a1acccn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:620a:4542:b0:6a0:651b:be0b with SMTP id u2-20020a05620a454200b006a0651bbe0bmr4497141qkp.633.1652464589566;
Fri, 13 May 2022 10:56:29 -0700 (PDT)
X-Received: by 2002:a05:622a:1a90:b0:2f3:bb56:5a1d with SMTP id
s16-20020a05622a1a9000b002f3bb565a1dmr5754642qtc.127.1652464589416; Fri, 13
May 2022 10:56:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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: Fri, 13 May 2022 10:56:29 -0700 (PDT)
In-Reply-To: <6ad2a1dc-288f-40c6-96f6-a837c34cb600n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=71.174.62.16; posting-account=j7lJmQoAAADTx0Apfk15DZ7D0qlYy4zv
NNTP-Posting-Host: 71.174.62.16
References: <c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com>
<e9140f3f-d5d7-4a7e-a222-032f560b2107n@googlegroups.com> <7c2c3e76-b7a1-40ca-9091-c555982ac6c3n@googlegroups.com>
<a741ad20-24dc-4537-a0d1-3e80a1c65f32n@googlegroups.com> <6ad2a1dc-288f-40c6-96f6-a837c34cb600n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <38ad66db-f710-4bbd-922c-250908a1acccn@googlegroups.com>
Subject: Re: MUMPS - Export to xml - Integration
From: eddemoel@gmail.com (ed de moel)
Injection-Date: Fri, 13 May 2022 17:56:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2717
 by: ed de moel - Fri, 13 May 2022 17:56 UTC

I hope this project will go well for you.
There are some questions to consider still, though:
You mentioned that you should not create multiple XML files for the same appointment, but what do you do when an appointment gets changed or canceled?
- leave it as is, because you already created the file?
- create a new file with the same name with the updated information?
- create one or two new files, one to reflect the cancellation of the old appointment, and if the appointment was changed, a second one for the new appointment?

Now, how you actually implement it has much more to do with the internal workings of your application than with the programming language.
For some applications, it is possible to tie a "trigger" to the event that creates the appointment, and that "trigger" could be used to create the XML file (if that's an option, you'd automatically be sure that only one XML file gets created for each appointment).
For some application, you'd have to implement the creation of these files as a regular background task (hourly? daily? weekly?), in which case you may hae to keep a log of the appointments for which you have already created a file.

I'm sure that, the longer you think about this, the more questions will arise.
Good luck!
Ed

Re: MUMPS - Export to xml - Integration

<8af30220-65c1-4dd7-a123-3305573fe955n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:620a:46a1:b0:6a0:465e:ccca with SMTP id bq33-20020a05620a46a100b006a0465ecccamr4471638qkb.631.1652465444190;
Fri, 13 May 2022 11:10:44 -0700 (PDT)
X-Received: by 2002:a05:620a:90d:b0:6a0:fab:dde8 with SMTP id
v13-20020a05620a090d00b006a00fabdde8mr4698913qkv.330.1652465443998; Fri, 13
May 2022 11:10:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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: Fri, 13 May 2022 11:10:43 -0700 (PDT)
In-Reply-To: <38ad66db-f710-4bbd-922c-250908a1acccn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=200.17.81.22; posting-account=KE40BQoAAAD74QGN0hDiUgmcO9a9MRAb
NNTP-Posting-Host: 200.17.81.22
References: <c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com>
<e9140f3f-d5d7-4a7e-a222-032f560b2107n@googlegroups.com> <7c2c3e76-b7a1-40ca-9091-c555982ac6c3n@googlegroups.com>
<a741ad20-24dc-4537-a0d1-3e80a1c65f32n@googlegroups.com> <6ad2a1dc-288f-40c6-96f6-a837c34cb600n@googlegroups.com>
<38ad66db-f710-4bbd-922c-250908a1acccn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8af30220-65c1-4dd7-a123-3305573fe955n@googlegroups.com>
Subject: Re: MUMPS - Export to xml - Integration
From: ti.hrtgb2@gmail.com (TI HRTGB)
Injection-Date: Fri, 13 May 2022 18:10:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3493
 by: TI HRTGB - Fri, 13 May 2022 18:10 UTC

Em sexta-feira, 13 de maio de 2022 às 14:56:30 UTC-3, ed de moel escreveu:
> I hope this project will go well for you.
> There are some questions to consider still, though:
> You mentioned that you should not create multiple XML files for the same appointment, but what do you do when an appointment gets changed or canceled?
> - leave it as is, because you already created the file?
> - create a new file with the same name with the updated information?
> - create one or two new files, one to reflect the cancellation of the old appointment, and if the appointment was changed, a second one for the new appointment?
>
> Now, how you actually implement it has much more to do with the internal workings of your application than with the programming language.
> For some applications, it is possible to tie a "trigger" to the event that creates the appointment, and that "trigger" could be used to create the XML file (if that's an option, you'd automatically be sure that only one XML file gets created for each appointment).
> For some application, you'd have to implement the creation of these files as a regular background task (hourly? daily? weekly?), in which case you may hae to keep a log of the appointments for which you have already created a file.
>
> I'm sure that, the longer you think about this, the more questions will arise.
> Good luck!
> Ed

Good afternoon friend, at first I would keep the same file, because the data that are recorded in the file are used to assemble a worklist.
I will explain to you the purpose of this need.
We need to export in XML the exam scheduling data of a given patient on the day from our MUMPS system so that another system can read the XML and make the data available in a service for consultation.
What I need to ensure is that XML files are not generated from schedules that have already been integrated, I'm thinking about how to do this in MUMPS..

Re: MUMPS - Export to xml - Integration

<0ea3e75a-4b18-4aa4-af06-9c60c27456c9n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:6214:518d:b0:45a:933f:965d with SMTP id kl13-20020a056214518d00b0045a933f965dmr9866291qvb.94.1653084946355;
Fri, 20 May 2022 15:15:46 -0700 (PDT)
X-Received: by 2002:a05:6214:ac7:b0:462:1edc:a1cf with SMTP id
g7-20020a0562140ac700b004621edca1cfmr1299015qvi.82.1653084946178; Fri, 20 May
2022 15:15:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.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: Fri, 20 May 2022 15:15:45 -0700 (PDT)
In-Reply-To: <8af30220-65c1-4dd7-a123-3305573fe955n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2804:7f2:2a92:c3d7:6117:c009:3c98:9633;
posting-account=rJLjTAoAAACpjYTSm3mOFhAWMOuvXDWR
NNTP-Posting-Host: 2804:7f2:2a92:c3d7:6117:c009:3c98:9633
References: <c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com>
<e9140f3f-d5d7-4a7e-a222-032f560b2107n@googlegroups.com> <7c2c3e76-b7a1-40ca-9091-c555982ac6c3n@googlegroups.com>
<a741ad20-24dc-4537-a0d1-3e80a1c65f32n@googlegroups.com> <6ad2a1dc-288f-40c6-96f6-a837c34cb600n@googlegroups.com>
<38ad66db-f710-4bbd-922c-250908a1acccn@googlegroups.com> <8af30220-65c1-4dd7-a123-3305573fe955n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0ea3e75a-4b18-4aa4-af06-9c60c27456c9n@googlegroups.com>
Subject: Re: MUMPS - Export to xml - Integration
From: flaviofornazier@hotmail.com (Flávio Fornazier)
Injection-Date: Fri, 20 May 2022 22:15:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4083
 by: Flávio Fornazier - Fri, 20 May 2022 22:15 UTC

Em sexta-feira, 13 de maio de 2022 às 15:10:44 UTC-3, ti.h...@gmail.com escreveu:
> Em sexta-feira, 13 de maio de 2022 às 14:56:30 UTC-3, ed de moel escreveu:
> > I hope this project will go well for you.
> > There are some questions to consider still, though:
> > You mentioned that you should not create multiple XML files for the same appointment, but what do you do when an appointment gets changed or canceled?
> > - leave it as is, because you already created the file?
> > - create a new file with the same name with the updated information?
> > - create one or two new files, one to reflect the cancellation of the old appointment, and if the appointment was changed, a second one for the new appointment?
> >
> > Now, how you actually implement it has much more to do with the internal workings of your application than with the programming language.
> > For some applications, it is possible to tie a "trigger" to the event that creates the appointment, and that "trigger" could be used to create the XML file (if that's an option, you'd automatically be sure that only one XML file gets created for each appointment).
> > For some application, you'd have to implement the creation of these files as a regular background task (hourly? daily? weekly?), in which case you may hae to keep a log of the appointments for which you have already created a file.
> >
> > I'm sure that, the longer you think about this, the more questions will arise.
> > Good luck!
> > Ed
> Good afternoon friend, at first I would keep the same file, because the data that are recorded in the file are used to assemble a worklist.
> I will explain to you the purpose of this need.
> We need to export in XML the exam scheduling data of a given patient on the day from our MUMPS system so that another system can read the XML and make the data available in a service for consultation.
> What I need to ensure is that XML files are not generated from schedules that have already been integrated, I'm thinking about how to do this in MUMPS.

Hi!

You're in safe hands with these M developers and I agree with all of them, they are the best!

I'm from Belo Horizonte and I have a lot of experience with MSM Unix as well others M implementations and relational databases.

Feel free to contact me if you need help or exchange ideas.

Regards,

Re: MUMPS - Export to xml - Integration

<36410859-9fa7-431b-82df-653b9363b38an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:ad4:5bc1:0:b0:42c:3700:a6df with SMTP id t1-20020ad45bc1000000b0042c3700a6dfmr16569948qvt.94.1653306680108;
Mon, 23 May 2022 04:51:20 -0700 (PDT)
X-Received: by 2002:a05:620a:12c6:b0:6a3:74b1:bf57 with SMTP id
e6-20020a05620a12c600b006a374b1bf57mr4560441qkl.330.1653306679962; Mon, 23
May 2022 04:51:19 -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, 23 May 2022 04:51:19 -0700 (PDT)
In-Reply-To: <0ea3e75a-4b18-4aa4-af06-9c60c27456c9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=200.17.81.22; posting-account=KE40BQoAAAD74QGN0hDiUgmcO9a9MRAb
NNTP-Posting-Host: 200.17.81.22
References: <c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com>
<e9140f3f-d5d7-4a7e-a222-032f560b2107n@googlegroups.com> <7c2c3e76-b7a1-40ca-9091-c555982ac6c3n@googlegroups.com>
<a741ad20-24dc-4537-a0d1-3e80a1c65f32n@googlegroups.com> <6ad2a1dc-288f-40c6-96f6-a837c34cb600n@googlegroups.com>
<38ad66db-f710-4bbd-922c-250908a1acccn@googlegroups.com> <8af30220-65c1-4dd7-a123-3305573fe955n@googlegroups.com>
<0ea3e75a-4b18-4aa4-af06-9c60c27456c9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <36410859-9fa7-431b-82df-653b9363b38an@googlegroups.com>
Subject: Re: MUMPS - Export to xml - Integration
From: ti.hrtgb2@gmail.com (TI HRTGB)
Injection-Date: Mon, 23 May 2022 11:51:20 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: TI HRTGB - Mon, 23 May 2022 11:51 UTC

Em sexta-feira, 20 de maio de 2022 às 19:15:46 UTC-3, flaviof...@hotmail.com escreveu:
> Em sexta-feira, 13 de maio de 2022 às 15:10:44 UTC-3, ti.h...@gmail.com escreveu:
> > Em sexta-feira, 13 de maio de 2022 às 14:56:30 UTC-3, ed de moel escreveu:
> > > I hope this project will go well for you.
> > > There are some questions to consider still, though:
> > > You mentioned that you should not create multiple XML files for the same appointment, but what do you do when an appointment gets changed or canceled?
> > > - leave it as is, because you already created the file?
> > > - create a new file with the same name with the updated information?
> > > - create one or two new files, one to reflect the cancellation of the old appointment, and if the appointment was changed, a second one for the new appointment?
> > >
> > > Now, how you actually implement it has much more to do with the internal workings of your application than with the programming language.
> > > For some applications, it is possible to tie a "trigger" to the event that creates the appointment, and that "trigger" could be used to create the XML file (if that's an option, you'd automatically be sure that only one XML file gets created for each appointment).
> > > For some application, you'd have to implement the creation of these files as a regular background task (hourly? daily? weekly?), in which case you may hae to keep a log of the appointments for which you have already created a file.
> > >
> > > I'm sure that, the longer you think about this, the more questions will arise.
> > > Good luck!
> > > Ed
> > Good afternoon friend, at first I would keep the same file, because the data that are recorded in the file are used to assemble a worklist.
> > I will explain to you the purpose of this need.
> > We need to export in XML the exam scheduling data of a given patient on the day from our MUMPS system so that another system can read the XML and make the data available in a service for consultation.
> > What I need to ensure is that XML files are not generated from schedules that have already been integrated, I'm thinking about how to do this in MUMPS.
> Hi!
>
> You're in safe hands with these M developers and I agree with all of them, they are the best!
>
> I'm from Belo Horizonte and I have a lot of experience with MSM Unix as well others M implementations and relational databases.
>
> Feel free to contact me if you need help or exchange ideas.
>
> Regards,

Hi Flavio, I'm from Brazil too. Can you provide your email or whatsapp so we can exchange an idea?

Re: MUMPS - Export to xml - Integration

<ecdecf7f-6a86-4158-aa54-9498043c7f4fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:ac8:5744:0:b0:2f3:d85a:a518 with SMTP id 4-20020ac85744000000b002f3d85aa518mr16758156qtx.465.1653325205270;
Mon, 23 May 2022 10:00:05 -0700 (PDT)
X-Received: by 2002:a05:622a:611:b0:2f3:de8b:6728 with SMTP id
z17-20020a05622a061100b002f3de8b6728mr16964772qta.491.1653325205009; Mon, 23
May 2022 10:00:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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, 23 May 2022 10:00:04 -0700 (PDT)
In-Reply-To: <36410859-9fa7-431b-82df-653b9363b38an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2804:7f2:2a92:c3d7:95fa:7078:e5c3:7d05;
posting-account=rJLjTAoAAACpjYTSm3mOFhAWMOuvXDWR
NNTP-Posting-Host: 2804:7f2:2a92:c3d7:95fa:7078:e5c3:7d05
References: <c6592134-b5db-404c-a7a9-78ebd095980cn@googlegroups.com>
<e9140f3f-d5d7-4a7e-a222-032f560b2107n@googlegroups.com> <7c2c3e76-b7a1-40ca-9091-c555982ac6c3n@googlegroups.com>
<a741ad20-24dc-4537-a0d1-3e80a1c65f32n@googlegroups.com> <6ad2a1dc-288f-40c6-96f6-a837c34cb600n@googlegroups.com>
<38ad66db-f710-4bbd-922c-250908a1acccn@googlegroups.com> <8af30220-65c1-4dd7-a123-3305573fe955n@googlegroups.com>
<0ea3e75a-4b18-4aa4-af06-9c60c27456c9n@googlegroups.com> <36410859-9fa7-431b-82df-653b9363b38an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ecdecf7f-6a86-4158-aa54-9498043c7f4fn@googlegroups.com>
Subject: Re: MUMPS - Export to xml - Integration
From: flaviofornazier@hotmail.com (Flávio Fornazier)
Injection-Date: Mon, 23 May 2022 17:00:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4714
 by: Flávio Fornazier - Mon, 23 May 2022 17:00 UTC

Em segunda-feira, 23 de maio de 2022 às 08:51:20 UTC-3, ti.h...@gmail.com escreveu:
> Em sexta-feira, 20 de maio de 2022 às 19:15:46 UTC-3, flaviof...@hotmail.com escreveu:
> > Em sexta-feira, 13 de maio de 2022 às 15:10:44 UTC-3, ti.h...@gmail.com escreveu:
> > > Em sexta-feira, 13 de maio de 2022 às 14:56:30 UTC-3, ed de moel escreveu:
> > > > I hope this project will go well for you.
> > > > There are some questions to consider still, though:
> > > > You mentioned that you should not create multiple XML files for the same appointment, but what do you do when an appointment gets changed or canceled?
> > > > - leave it as is, because you already created the file?
> > > > - create a new file with the same name with the updated information?
> > > > - create one or two new files, one to reflect the cancellation of the old appointment, and if the appointment was changed, a second one for the new appointment?
> > > >
> > > > Now, how you actually implement it has much more to do with the internal workings of your application than with the programming language.
> > > > For some applications, it is possible to tie a "trigger" to the event that creates the appointment, and that "trigger" could be used to create the XML file (if that's an option, you'd automatically be sure that only one XML file gets created for each appointment).
> > > > For some application, you'd have to implement the creation of these files as a regular background task (hourly? daily? weekly?), in which case you may hae to keep a log of the appointments for which you have already created a file.
> > > >
> > > > I'm sure that, the longer you think about this, the more questions will arise.
> > > > Good luck!
> > > > Ed
> > > Good afternoon friend, at first I would keep the same file, because the data that are recorded in the file are used to assemble a worklist.
> > > I will explain to you the purpose of this need.
> > > We need to export in XML the exam scheduling data of a given patient on the day from our MUMPS system so that another system can read the XML and make the data available in a service for consultation.
> > > What I need to ensure is that XML files are not generated from schedules that have already been integrated, I'm thinking about how to do this in MUMPS.
> > Hi!
> >
> > You're in safe hands with these M developers and I agree with all of them, they are the best!
> >
> > I'm from Belo Horizonte and I have a lot of experience with MSM Unix as well others M implementations and relational databases.
> >
> > Feel free to contact me if you need help or exchange ideas.
> >
> > Regards,
> Hi Flavio, I'm from Brazil too. Can you provide your email or whatsapp so we can exchange an idea?

Hi!

Feel free to contact me via whatsapp 31989460853

Regards,

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor