Andy Stobirski · May 21, 2025 go to post

Hi Elliot, that was really interesting - thanks for sharing.

I have a question about the referesh token - how do I get it to work? I have tried a PUT to /refresh using refresh_token as the Bearer Token in postman, and I get a 401.0. What do I need to do to get it to refresh?

Andy Stobirski · May 23, 2024 go to post

I have found those two entries and they are less than two minutes apart.

I noticed that the following entries where sitting between them:
 

05/20/24-11:05:47:140 (7248) 1 [Utility.Event] Backup.General.ExternalFreeze: Warning, d:\intersystems\healthconnect\mgr\irislocaldata\ is not being journalled
05/20/24-11:05:47:140 (7248) 1 [Utility.Event] Backup.General.ExternalFreeze: Warning, d:\intersystems\healthconnect\mgr\hslib\ is not being journalled

I don't know why they weren't journalled, but when I set to be journalled, the error I initially reported has since disappeared.
Thanks for your comment, it help me solve my problem.

Andy Stobirski · Jan 21, 2024 go to post

Setting it to %ALL worked.  

In postman, I'm using basic authorization and am using my standard username / password. That user has the roles %Developer and %EnsRole_Developer, so I'd have expected having those two roles assigned to Application Roles to work or am I misunderstanding how Application Roles work?

Andy Stobirski · Jan 21, 2024 go to post

Hi and thanks for your reply. I do have a webserver, but I didn't think to use it. It is configured as following

I haven't configured matching roles, though.

When I try to hit the URL 

http://localhost:52773/v2/PARISCONNECT/PCRest/Hello

I get a 403 Forbidden, which is an improvement, but after fiddling with the settings I can't access it. 

Andy Stobirski · Jan 21, 2024 go to post

UPDATE
I was making a mistake - the file I was using was is the empty schema. I needed something that contains valid content, such as the example given here.

When used that file, the Rest Command Line Interface Worked correctly.

Andy Stobirski · Jan 21, 2024 go to post

Hi Ashok, thanks for your reply and link, which was very interesting.

I have checked the swagger document and it appears to contain the correct value though:

   "properties": {
        "swagger": {
            "type": "string",
            "enum": [
                "2.0"
            ],
            "description": "The Swagger version of this document."
        }
   }
Andy Stobirski · Nov 15, 2023 go to post

Thank's for your reply - that did the trick!

I did discover the $ZCONVERT command, but it never worked for me as I was converting to CP1252 (ANSII) and not UTF-8 as you did! Don't know why I did that 😐!

Andy Stobirski · Nov 14, 2023 go to post

That's for your prompt reply. I can't post anything without editing text and changing XML structure as it's patient confidential data from a proprietary system. I'll look into what I can do.
I can answer a few though:
 XML Character Encoding is declared as <?xml version="1.0" encoding="UTF-8"?>

This is the XPATH I'm using

//code salient points
#dim tDocument as %XML.XPATH.Document
Set tSC=##class(%XML.XPATH.Document).CreateFromString(pXML,.tDocument)
Set tSC=tDocument.EvaluateExpression(pContext, pExpression,.tResults)

The XML response is being retrieved in the form of a string from Operation with an EnsLib.SOAP.OutboundAdapter adapater, and here's the salient code

// Salient code
set ..Adapter.WebServiceURL  = ..URL
Set ..Adapter.WebServiceClientClass = "rocessMessageSoap"
Set tSC = ..Adapter.InvokeMethod("ProcessMessage",.ProcessMessageResult,tRequestMessage.requestMessageXml)  Quit:$$$ISERR(tSC) tSC
Set tSC = tRequestMessage.NewResponse(.pResponse)  Quit:$$$ISERR(tSC) tSC
Set pResponse.ProcessMessageResult=$get(ProcessMessageResult)

//where pResponse.ProcessMessageResult contains the XML response we are analysing
Andy Stobirski · Jun 30, 2023 go to post

Hi

Thanks for your reply. I never considered the ISCAgent, as disabling the service will be enough, but better safe than sorry.

Cheers

Andy

Andy Stobirski · Mar 22, 2023 go to post

It turns out there was a whitespace in my code which I hadn't noticed, so that code works. Thanks for taking the time to reply.

So, that solves one problem. The source data can have many different values for xsi:type, so how to take that into account@?

Andy Stobirski · Mar 21, 2023 go to post

Yes I did, I change the class Field to the following and compiled? Is this correct?

Class Field Extends (%Persistent, %XML.Adaptor)
{
Parameter XMLNAME = "Field";
Parameter NAMESPACE = "http://www.civica.co.uk/ParisConnect/ConnectXml/1.0/Messaging";
// Property Type As %String(XMLNAME = "xsi:type", XMLPROJECTION = "ATTRIBUTE");
Parameter XMLTYPE = "UDFLookupFieldInstance";
Property Suffix As %String(XMLNAME = "Suffix", XMLPROJECTION = "ATTRIBUTE");
Property Description As %String(XMLNAME = "Description", XMLPROJECTION = "ATTRIBUTE");
Property ID As %String(XMLNAME = "ID", XMLPROJECTION = "ATTRIBUTE");
Property Value As %String(MAXLEN = "", XMLNAME = "Value");
}

The same error is produced.

In my original post I did mention that that xsi:value can be anything, so assuming I made a mistake what would I need to do to this into account?

Andy Stobirski · Jan 24, 2023 go to post

That did the trick! Thanks so much for taking the time to reply.

I noticed that the String Quote is only applied if the specified delimeter is contained within the text field - it universally applied.

Andy Stobirski · Jan 23, 2023 go to post

Thanks for the reply

Set mgr.StringQuote = """"

That didn't work.

This is my table class

Class GMECC.DocmanConnect.Tables.ConnectDocs Extends %Persistent
{

    Property StatusCode As %Integer;
    Property DocumentType As %String(MAXLEN = 100);
    Property StatusLastUpdated As %DateTime;
    Property Closed as %Library.Boolean;

}

Andy Stobirski · Nov 30, 2022 go to post

In both tables, they are the same - they are down a %TimeStamp in the underlying classes.

Andy Stobirski · Nov 8, 2022 go to post

Hi Christiano

Thanks for your reply - I'm not sure how to go about doing that. So, if I had a .PNG how would I display it on a zen page?

Andy

Andy Stobirski · Oct 8, 2022 go to post

Can this be set to monitor individual folders? I have a series of different projects, each located in different locations, and would like them to reside in their own repositories.

Andy Stobirski · Sep 27, 2022 go to post

Hi Fab - that's what I thought, and  it'll be easy to implement. Thanks for replying.

Andy Stobirski · Sep 6, 2022 go to post

That worked perfectly, thanks. One last question, where would I find style sheet information to colour the results as per the HL7 viewer does?

Andy Stobirski · Aug 8, 2022 go to post

Hi Jeffrey - that's perfect, thanks for taking the time to reply. Once last question: do you know how I might locate information on the Arbiter connection status?


Andy