go to post Cristiano Silva · Feb 2, 2022 Hi Philip, The SQL projection of the property Skill of class myclass.DataBase is compounded by 3 $List. To Insert via SQL use the following statement: INSERT INTO myclass.DataBase VALUES ('My ID', $LISTBUILD($LISTBUILD($LISTBUILD('PSkill Value','OSkill Value')))) Regards Cristiano José da Silva
go to post Cristiano Silva · Jan 4, 2022 Harshdeep , Yes, for each version you need a specific transformation, but from a single message you can transform and route to a different HL7 versions and systems using Routing Productions See the documentation: Routing Production Cristiano Silva.
go to post Cristiano Silva · Jan 3, 2022 Hi Harshdeep, Yes. You can do this with data transformations. Note the HL7 framework is available on Iris for Health. See the documentation: https://docs.intersystems.com/irisforhealthlatest/csp/docbook/DocBook.UI.Page.cls?KEY=EHL72_transformation
go to post Cristiano Silva · Sep 9, 2021 Hi Muhammad, See the documentation: https://docs.intersystems.com/iris20211/csp/docbook/DocBook.UI.Page.cls?KEY=RCOS_fincrement#RCOS_fincrement_seq Regards Cristiano Silva
go to post Cristiano Silva · Jul 29, 2021 Hi Raghu, No, You doens't loose your persistant data. If you need to purge your data too, you need to create a trigger or implement callback method %OnDelete. Using Triggers - Using InterSystems SQL - InterSystems IRIS Data Platform 2021.1Defining Callback Methods - Defining and Using Classes - InterSystems IRIS Data Platform 2021.1 Regards.
go to post Cristiano Silva · Jul 28, 2021 Hi Lucas, That I have been know, ISC don't have native tool for data masking. Look at this open source project, maybe help you. GitHub - TheSoftwareHouse/fogger I never been used this tool. Regards. Cristiano José da Silva.
go to post Cristiano Silva · Dec 28, 2020 Hi Jens, You need to setup the port in the adapter settings. In the method SendFormDataArray all adapter settings is passed to http request object.
go to post Cristiano Silva · Dec 28, 2020 Maybe using the property parameter : (CONTENT = "ESCAPE") Controlling Transformations of Values - Projecting Objects to XML - InterSystems IRIS Data Platform 2020.3
go to post Cristiano Silva · Dec 18, 2020 Updated link to the badge https://www.youracclaim.com/badges/30f9d00f-82a3-45ab-a879-b83a7053f00d/...
go to post Cristiano Silva · Nov 6, 2020 Speaking about "Relational World" is better to use Classes/Tables of package INFORMATION.SCHEMA In this post has a little example: https://community.intersystems.com/post/describe-table-cache-db?page=1#comment-128856 Regards.
go to post Cristiano Silva · Oct 7, 2020 HI Bukhtiar, Iris has built in validation against a schema see: HL7 Schemas and Available Tools But, is simple to iterate over all segments of a HL7 message or any Virtual Document like this example: #Dim hl7Msg As EnsLib.HL7.Message = ##Class(EnsLib.HL7.Message).%OpenId(<changByAId>) #Dim segIndex As %Integer = 0 For segIndex = 1 : 1 : hl7Msg.SegCount { #Dim segment As EnsLib.HL7.Segment = hl7Msg.getSegmentByIndex(segIndex) // Write segment.Name, ! } For more details se then documentation: EnsLib.HL7.Message EnsLib.HL7.Segment
go to post Cristiano Silva · Sep 30, 2020 Yes. /// <p> /// <b>2020-04-23 - Cristiano José da Silva</b><br/> /// Conjunto de fuincões a serem utilizadas pelas regras , tranformações e process /// <p> Class HC.distribuicao.utils.FunctionSet Extends Ens.Rule.FunctionSet { ClassMethod HL7AtribuirValor(valor As %String, caminhoPropriedade As %String, mensagem As EnsLib.HL7.Message) As %Boolean [ Final ] { If ('mensagem.IsMutable) { Throw ##Class(%Exception.General).%New("ObjetoImutavel", 5001, $$$CurrentClass _ "." _ $$$CurrentMethod, "Impossível atribuir valor a mensagem imutável.") } Do mensagem.SetValueAt(valor, caminhoPropriedade, "set", "") // Return 1 } }
go to post Cristiano Silva · Sep 30, 2020 Hi Bukhtiar, Use the property "Document" instead HL7 or HL7.Source Like this: The Function HL7AtribuirValor assign the value "A08" int the field "MSH:MEssageType.triggerevent", in the Document that is the HL7 Message and returns a boolean value.
go to post Cristiano Silva · Sep 29, 2020 Hi Mikael, The steps 4.1 and 4.2 Is done by the EnsLib.FTP.InboundAdapter. Check the documentation Overall Behavior. For step 4.3 you can call the method delete from EnsLib.FTP.InboundAdapter in the method OnProcesssInput after you finalize the treatment of the "errors.txt".
go to post Cristiano Silva · Sep 28, 2020 Hi Stephen, I used to use this online diff tool: https://hl7.cc/juxtapose
go to post Cristiano Silva · Sep 24, 2020 Sorry my misunderstood John. The class EnsLib.HL7.Segment has methods Escape and Unescape and classmethods EscapeEx and UnescapeEx. See documentation about HL7 Escape Sequences. Example: Write ##Class(EnsLib.HL7.Segment).EscapeEx("H&P", "|^~\&", "\"), ! Write ##Class(EnsLib.HL7.Segment).UnescapeEx("H\T\P", "|^~\&", "\")
go to post Cristiano Silva · Sep 23, 2020 Hi John, If I understood, you want to pass the code to a method and return the description. All descriptions of HL7 code tables are stored in the global ^EnsHL7.Description. The structure of global is ^EnsHL7.Description(<category>,"CT",<codeTableCode,valurKey>)=<descritpion>. For HL7 Schema Category 2.3.1 the global have the content: ^EnsHL7.Description("2.3.1","CT",270)="Document type" ^EnsHL7.Description("2.3.1","CT",270,"AR")="Autopsy report" "CD")="Cardiodiagnostics" "CN")="Consultation" "DI")="Diagnostic imaging" "DS")="Discharge summary" "ED")="Emergency department report" "HP")="History and physical examination" "OP")="Operative report" "PC")="Psychiatric consultation" "PH")="Psychiatric history and physical examination" "PN")="Procedure note" "PR")="Progress note" "SP")="Surgical pathology" "TS")="Transfer summary" A generic method would be like:
go to post Cristiano Silva · Sep 23, 2020 Hi Ahmad, In the class Ens.Util.FunctionSet exists the methods In and NotIn, that's work if comma-delimited string. To check if a value is not in a LookupTable test if the returns of method Lookup is empty.
go to post Cristiano Silva · Sep 17, 2020 Hi David, The SQLCODE -102 is that you trying to open, close or fetch a unopened cursor: https://docs.intersystems.com/irislatest/csp/docbook/Doc.View.cls?KEY=RERR_sql#RERR_sql_101
go to post Cristiano Silva · Sep 15, 2020 Hi Ruslan, Yes see the mozila specification: https://developer.mozilla.org/pt-BR/docs/Web/HTTP/Headers/Content-Encoding