We can load a CCDA xml document into SDA3 object.
Once parsing SDA3 object, how do we determine from which XPATH from CCDA the specific SDA3 elements were mapped to.
Is there any way?
We can load a CCDA xml document into SDA3 object.
Once parsing SDA3 object, how do we determine from which XPATH from CCDA the specific SDA3 elements were mapped to.
Is there any way?
what class or API I shall be using to execute a piece of sql to another server from one server? From within cache itself not java or python or any other languages.
Anything like $System.SQL.%Connect(...) ?
Looking at the DTL, we can pretty much understand what the provided mapping from FHIR to SDA3.
But, is there any Intersystems document, where the mapping To/From FHIR is documented, at least FHIR to SDA3 ?
Hi,
When we define a %String property, and don't mention any MAXLEN, by default it uses 50 as defined in class %Library.String.
As a result, when we try to save data more than 50 characters, it fails with below error.
ERROR #7201: Datatype value 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' length longer than MAXLEN allowed of 50
This is very challenging when we parse data and tries to store it in SDA3 structure, because in many places its always set to 50, which is not enough.
We have been fighting a lot to avoid MAXLEN error in various scenarios and in various part of the products over a
While trying to start the instance INSTANCE001, getting below error, where cache.shid file doesnot contains anything.
This is in a Linux server.
Any help is appreciated.
$ ccontrol start INSTANCE001INSTANCE001 startup failed: Instance is down although there is process attached to shared memoryYou can get the shared memory ID in cache.shid filethen run 'ipcs -m -a' to see the number of processes still attached.
While creating namespaces, there is a provision for keeping the data, and code separately in database.
What I am looking for,
What are the benefit we can achieve by doing this?
Is there any documentation of article which might help understanding?
Thanks You!
As per the documentation of QueueCountAlert:
Number of messages on this item's queue needed to trigger an Alert message to be sent. Note that no further alerts will be sent unless the number of messages on the queue drops below 80% of this number and then rises again to this number.
Note that this alert will be sent even if AlertOnError is False.
Zero means no alerts of this type will be sent.
Now, the question is,
If QueueCountAlert is set to 10, and the queue size become 11 we will be getting email once.
Now, if queue count does not decrease, and keeps increasing further after sometime, how do we
Hi,
Is there any way to track the 'last modified by' cache user name and datetime of last modification for a class or routine definition [Track Last Code Changes]?
Thanks,
Tirthankar
Hi,
When we write unit test cases for cache object script code using %UnitTest.TestCase, what is the best way to write code to identify code coverage?
So, let say my unit test case hit all 10 lines of code of a method for a given class. So, unit test coverage should be 100% for that. But, using line-by-line coverage [(%Monitor.System.LineByLine] getting wrong percentage, because it also includes code comment/documentation as part of code. So, practically we can not ever achieve 100% of code coverage by using this API.
I'm not sure, if am able to describe the problem properly here.
How do we generally create an error object of %Status?
Set status=$SYSTEM.Status.Error($$$GeneralError,"Something went wrong")
Now, like $$$GeneralError there are many more macro defined within %occErrors include file by Intersystem which we can use.
i.e.
#define GeneralError 5001
#define CacheError 5002
#define NotImplemented 5003
#define FeatureNotSupported 5014
#define DataMissing 5022
#define FileCanNotCopy 5024
#define FileAlreadyExists