Vivek Nayak · Aug 8, 2019 go to post

I am using Inter System IRIS IDE.

I am new in Inter System IRIS development,, and want debug the class method when call method using postman request.

Vivek Nayak · Aug 23, 2019 go to post

Is it possible to alter SP using portal?

Something like below,

Alter query queryname()

Vivek Nayak · Aug 27, 2019 go to post

So, If I am using objExternalUser.%Id() then which Id I ll get

1) Id of record inserted by my objExternalUser.%Save() function?

2) Id of latest inserted record?

Vivek Nayak · Aug 28, 2019 go to post

Thanks Evgency,

I got my answer, actually I need the Id of record inserted by my objExternalUser.%Save() function and that I got by your answer( objExternalUser.%Id() )

Vivek Nayak · Aug 28, 2019 go to post

Hi John,

I want to display error summary like below.

Error Summary:

Please enter First Name.

Please Enter Last Name.

Please Enter DOB.

Vivek Nayak · Aug 30, 2019 go to post

Hi Rubens,

How to convert current date in "2019-08-30T16:38:26.893Z" this format.

My field has timestamp datatype.

I have tried below code.

$zdt($zu(188),3,1)

$ZDATETIME($NOW())

Vivek Nayak · Dec 31, 2019 go to post

Hi Peter,

Thanks but above solution is not working.

Set Obj.OrganizationLogo="abc.png"

Set path="D:\temp\"_OrganizationLogo
    Set file=##class(%Stream.FileBinary).%New()
    Set sc=file.LinkToFile(path)
    Do file.Write(decode)
 
 
 
just for information
I have created web api in intersystem iris and at front end I am using angular.
So, I am passing this image as base64 formate along with the other fields like fname,lname, address etc..

in JSON 

Vivek Nayak · Dec 31, 2019 go to post

Hi Peter

Can you please help me on how to set status when some error occurs for below statement.

$system.Status.GetErrorText(sc)

I have tried below code but it is not working

Set status = $$$OK
Set status =$system.Status.GetErrorText(sc)
If ($$$ISERR(status)){
-- Some error handling
}
else {
-- some success message
}
Vivek Nayak · Apr 21, 2020 go to post

Hi Marc,

Can you please provide an example that used wkhtmltopdf  to covert html to pdf.

FYI,

I want to convert html to pdf programmatically. 

Vivek Nayak · Jul 6, 2020 go to post

Thanks Robert,

alert.log is also not updated.

One thing I found that the Ensemble service is not in running state and I am not able to start again, Is it possible due to this error occurs?

Vivek Nayak · Sep 17, 2021 go to post

Thanks Vic,

We are planning to create an interface to generate an FHIR for all HL7 message types like ADT, ORM, DFT, etc.

How can I create FHIR using the 2019.1 version, Can you please help with this?

Vivek Nayak · Feb 25, 2022 go to post

Thanks, Juanito,

Yes, environment variables are not set.

I was entering the below details in the "Run the setup script and start IAM" step.

Let me know If I missed something.

Vivek Nayak · Mar 15, 2022 go to post

Hi Paul,

I am using below patient resource.

As I mentioned got fhirResponse.Status=404 in below log.

Do fhirService.DispatchRequest(fhirRequest, .fhirResponse)         $$$LOGWARNING("fhirResponse-> "_fhirResponse.Status)

{
  "resourceType""Patient",
  "id""112",
  "text": {
    "status""generated",
    "div""<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t<table>\n\t\t\t\t<tbody>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Name</td>\n\t\t\t\t\t\t<td>Peter James \n              <b>Chalmers</b> (&quot;Jim&quot;)\n            </td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Address</td>\n\t\t\t\t\t\t<td>534 Erewhon, Pleasantville, Vic, 3999</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Contacts</td>\n\t\t\t\t\t\t<td>Home: unknown. Work: (03) 5555 6473</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Id</td>\n\t\t\t\t\t\t<td>MRN: 12345 (Acme Healthcare)</td>\n\t\t\t\t\t</tr>\n\t\t\t\t</tbody>\n\t\t\t</table>\n\t\t</div>"
  },
  "identifier": [
    {
      "use""usual",
      "type": {
        "coding": [
          {
            "system""http://terminology.hl7.org/CodeSystem/v2-0203",
            "code""MR"
          }
        ]
      },
      "system""urn:oid:1.2.36.146.595.217.0.1",
      "value""12345",
      "period": {
        "start""2001-05-06"
      },
      "assigner": {
        "display""Acme Healthcare"
      }
    }
  ],
  "active"true,
  "name": [
    {
      "use""official",
      "family""Chalmers",
      "given": [
        "Peter",
        "James"
      ]
    },
    {
      "use""usual",
      "given": [
        "Jim"
      ]
    },
    {
      "use""maiden",
      "family""Windsor",
      "given": [
        "Peter",
        "James"
      ],
      "period": {
        "end""2002"
      }
    }
  ],
  "telecom": [
    {
      "use""home"
    },
    {
      "system""phone",
      "value""(03) 5555 6473",
      "use""work",
      "rank"1
    },
    {
      "system""phone",
      "value""(03) 3410 5613",
      "use""mobile",
      "rank"2
    },
    {
      "system""phone",
      "value""(03) 5555 8834",
      "use""old",
      "period": {
        "end""2014"
      }
    }
  ],
  "gender""male",
  "birthDate""1974-12-25",
  "_birthDate": {
    "extension": [
      {
        "valueDateTime""1974-12-25T14:35:45-05:00"
      }
    ]
  },
  "deceasedBoolean"false,
  "address": [
    {
      "use""home",
      "type""both",
      "text""534 Erewhon St PeasantVille, Rainbow, Vic  3999",
      "line": [
        "534 Erewhon St"
      ],
      "city""PleasantVille",
      "district""Rainbow",
      "state""Vic",
      "postalCode""3999",
      "period": {
        "start""1974-12-25"
      }
    }
  ],
  "contact": [
    {
      "relationship": [
        {
          "coding": [
            {
              "system""http://terminology.hl7.org/CodeSystem/v2-0131",
              "code""N"
            }
          ]
        }
      ],
      "name": {
        "family""du Marché",
        "_family": {
          "extension": [
            {
              "valueString""VV"
            }
          ]
        },
        "given": [
          "Bénédicte"
        ]
      },
      "telecom": [
        {
          "system""phone",
          "value""+33 (237) 998327"
        }
      ],
      "address": {
        "use""home",
        "type""both",
        "line": [
          "534 Erewhon St"
        ],
        "city""PleasantVille",
        "district""Rainbow",
        "state""Vic",
        "postalCode""3999",
        "period": {
          "start""1974-12-25"
        }
      },
      "gender""female",
      "period": {
        "start""2012"
      }
    }
  ],
  "managingOrganization": {
    "reference""Organization/1"
  }
}