Question Michael Wood · Mar 27 Empty export file Has anyone experienced exporting a deployment file and when deploying it, it is empty? IRIS for UNIX (Red Hat Enterprise Linux for x86-64) 2021.1 (Build 215_0_21129U) Wed Sep 29 2021 10:10:37 EDT [HealthConnect:3.3.0] [HealthConnect:3.3.0] #InterSystems IRIS for Health 0 0 0 45
Question Michael Wood · Jan 19 INSERT OR UPDATE only inserts I am trying to do a INSERT OR UPDATE SQL query, but the query always inserts new rows to table. Is it how I defined the table or am I mising something in the query? table defines as, Class AH.AHCOMMON.Tables.HospDepartmentData Extends %Persistent [ Language = objectscript ]{ #SQL #InterSystems IRIS for Health 0 1 0 77
Question Michael Wood · Jan 19 FHIR payload to FHIR message class I have this response, which is a FHIR location resource in a bundle. I would like to load the entry(0).resource into a context property defined as HS.FHIR.DTL.vR4.Model.Resource.Location so I can use it as a source in a DTL. Any help would be greatly appreciated. Thanks. #Business Process (BPL) #FHIR #REST API #InterSystems IRIS for Health 0 2 0 84
Question Michael Wood · Dec 7, 2023 How to check if REST response field not in response I have a message class define. But sometimes the RelatedItems fields is not returned. Parameter %JSONIGNOREINVALIDFIELD As BOOLEAN = 1; Property RequestedTerm As AH.AHLIB.Custom.Symedical.Message.PostRelationResponse.termsRequested; Property RelatedItems As list Of AH.AHLIB.Custom.Symedical.Message.PostRelationResponse.RelatedItems; Respnse normally will return someting like this, #Business Process (BPL) #REST API #InterSystems IRIS 0 2 0 163
Question Michael Wood · Nov 30, 2023 Custom Message Class Property Definition I have a API that is returning on objext with four fields. Two are arrays that are empty. How can I define the message class property to ignore/handle "Messages" and "SharedRelations"? #ObjectScript #InterSystems IRIS for Health 0 3 0 134
Question Michael Wood · Nov 28, 2023 Response not returning to BPL I getting the response back to my method fine, but it is not returning to my BPL. What am I missing to get the response back to the BPL? #ObjectScript #REST API #InterSystems IRIS for Health 0 8 0 146
Question Michael Wood · Nov 28, 2023 Message Property begins with Special Character I am creating a custom message class. How do I define @name and #text fields? this? Property name As %String (%JSONFIELDNAME = "@name"); #ObjectScript #InterSystems IRIS for Health 0 1 0 87
Question Michael Wood · Nov 17, 2023 INSERT OR UPDATE When using INSERT OR UPDATE command, How does the command know if the row exists? #ObjectScript #SQL #InterSystems IRIS for Health 0 3 0 191
Question Michael Wood · Nov 3, 2023 Max size limit for a %Library.DynamicObject variable Is there a size limit to what a %Library.DynamicObject define variable can hold? #InterSystems IRIS for Health 0 5 0 279
Question Michael Wood · Sep 18, 2023 Mapping error I am mapping a field to the FHIR Location resource field address.line. Using message class HS.FHIR.DTL.vR4.Model.Resource.Location The line field is repeating I set field as such, This causes the error, #DTL #FHIR #InterSystems IRIS for Health 0 2 0 171
Question Michael Wood · Aug 31, 2023 replace a carriage return linefeed with a space in DTL? Would this replace a carriage return linefeed with a spacein a DTL? $REPLACE(string,"\X0D0A\",$CHAR(32)) #DTL #InterSystems IRIS for Health 0 1 0 197
Question Michael Wood · Jul 18, 2023 Method to return value of object element I am trying to write a class method to return the value of a object element. Input to method is the object and element. I am not getting a value returned. What am I missing? #ObjectScript #InterSystems IRIS for Health 0 8 0 216
Question Michael Wood · Jun 9, 2023 Find business service in custom service class I am writing a custom business class. I need to use the business service name that will be using the class within a SQL statement. How can I get the business service name that is using the class? #ObjectScript #InterSystems IRIS for Health 0 3 0 174