Question Krishnaveni Kapu · Jun 3, 2024 datetime in format - yyyymmddhhmmss I receive dateTime in this format - yyyy-mm-ddThh:mm:ss+01:00 for ex : 2024-05-31T17:33:08+01:00I wanted it to convert to yyyymmddhhmmss desired output = 20240531173308 #Ensemble 0 3 0 243
Question Krishnaveni Kapu · May 23, 2024 Sending FHIR bundle object to a router failing I would like to send bundle object to a router and then perform a DTL with in the routing rule ( this BundleObject as a source to my DTL). during this process , I get below exception reqStream = json content in a stream Set BundleObject=##class(HS.FHIR.DTL.vR4.Model.Resource.Bundle).FromJSON(reqStream,"vR4") Set tSC = BusinessService.SendRequestSync("SAMPLE_ROUTER", BundleObj) expection : #Ensemble 0 3 0 110
Question Krishnaveni Kapu · May 13, 2024 Issue in generating Double quotes for a property in Json Stream. Hello Community, I have below issue - I have an ID with 123456.(ID as a dynamic value coming from request message) I wanted it to be displayed as "123456" in Json Stream. Code Example: set object = ##class(%ZEN.proxyObject).%New() set object.ID = ID set x = ##class(%ZEN.Auxiliary.jsonArrayProvider).%WriteJSONStreamFromObject(.json,object) Case:1ID : 123456 Will output: { "ID": 123456 } but I need : { "ID": "123456" } #Ensemble 0 3 0 159
Question Krishnaveni Kapu · Apr 26, 2024 How to read XML data in a routing rule I am receiving an XML input to my router and in the routing rule I need to traverse through the xml data , apply a for loop and fetch data. How can I do that ? Input : #Business Rules #XML #Ensemble #Health Connect #InterSystems IRIS #InterSystems IRIS for Health 0 3 0 188
Question Krishnaveni Kapu · Apr 23, 2024 subString before last delimeter How can I extract the sub-string before the last occurance of a delimeter in a string. string = "aaDtext1Dtext2" Delimeter = D answer I need = aaDtext1 #Caché #Ensemble #Health Connect #InterSystems IRIS #InterSystems IRIS for Health 0 4 0 161
Question Krishnaveni Kapu · Apr 22, 2024 convert dd/mm/yyyy --> yyyymmdd I need to convert dd/mm/yyyy --> yyyymmdd example Input = 25/03/1988 expected Output = 19880325 #Key Question #ObjectScript #Caché #Ensemble #Health Connect #InterSystems IRIS #InterSystems IRIS for Health 0 4 0 286
Question Krishnaveni Kapu · Jun 20, 2023 convert "dd/MMM/yy" to "YYYYmmdd" I need to convert "dd/MMM/yy" to "YYYYmmdd". Input = dd/MMM/yy Output = YYYYmmdd example Input = 13/Jun/23 Output = 20230613 I used below , I get 1923 as year but I need 2023. $ZDATE($ZDATEH("13/Jun/23",8),8) = 19230613 #ObjectScript #InterSystems IRIS 1 3 0 261