查找

記事
· 2025年4月13日 2m read

Building (strikeout) Prompting the UI for InterSystems FHIR With Lovable

Hi developers!

This will be a very short article as in April 2025 with Lovable and other Prompt-to-UI tools it becomes possible to build the frontend with prompting. Even to the folks like me who is not familiar with modern UI techics at all.

Well, I know at least the words javascript, typescript and ReactJS, so in this very short article we will be building the ReactJS UI to InterSystems FHIR server with Lovable.ai.

Let's go!

First of all we will need an InterSystems FHIR Server instance. 

You can get it on AWS or you can spin it out directly on your laptop with IRIS for Health if you have docker installed.

I will follow the docker way - and the easiest step is to clone this Open Exchange repository with:

> cd devfoloder

>git clone  git clone git@github.com:intersystems-community/iris-fhir-template.git

>cd iris-fhir-template 

>docker compose up -d

Once started you can check FHIR server REST API working with the swagger at localhost:32873/swagger-ui/index.html:

Check some calls (e.g. Patient resource) and see that there is some data.

OK! Let's build the UI now.

Go to Lovable.dev and create an account, its free.

Ask Lovable to build the UI vs FHIR server, including the resources and functionality you want. E.g. prompt could be:

Dear Lovable! Please build the UI vs an FHIR server R4 to manipulate Patient, Medication, observation, and lab results resources. 

And it will build it out.

After it is done, ask Lovable to point the UI to a FHIR REST API URL: localhost:52873/fhir/v4.

And it should work. Make sure you set up proper user access (I'd start with no security initially just to make sure REST services receive and provide data properly) and feel free to improve the UI with prompting. 

Next you can ask lovable to deploy the solution to internet. To make it working make sure you deploy IRIS FHIR server as well or point to AWS one if you are there.

That's it!

Image

 

Lovely, isn't it?

Here is the video with all the steps and more:

2 Comments
ディスカッション (2)1
続けるにはログインするか新規登録を行ってください
ディスカッション
· 2025年4月12日

Code Golf - Maximum Coverage

There is a list of numbers from 1 to 190.

AllList="1,2,3,4,5,6,7,8,9,.....,187,188,189,190"

There is a collection of sets of these values:

List(1)="3,5,6,7,9"
List(2)="1,2,6,9"
List(3)="5,8,9"
List(4)="2,4,6,8"
List(5)="4,7,9"

What is an elegant approach in Object Script to pick the least number of list items:

  • List(1)
  • List(5)
  • List(n)

That together would cover as many numbers as possible from the AllList.

Interested in best coverage over efficiency.

7 Comments
ディスカッション (7)1
続けるにはログインするか新規登録を行ってください
ディスカッション
· 2025年4月11日

Routers: Best practices for multiple operations

Hello 

We are pretty new to Ensemble and we are considering on using a default setup for our production. Let me explain the situation. We have one sender that sends HL7 ADT messages to our system. We have 60+ other systems that need to recieve ADT messages. We where thinking on a few ways on how to do the setup. 

Setup1:

We create one big ADTRouter that contains a first mapping. The result is send to another big ADTRouter that contains all the filters/expressions and mappings for the recieving systems. These' are the Pro's and Cons from my point of view I could be very wrong so please help me out here to know if I'm correct:

Pro's

- Not to much database overhead.

- I'm not sure but will this be performant?

Con's

- Not very maintainable.

-Could be slow and not performant?

 

Setup2

We still create on big router with one first mapping. But instead we send the result to 60+ other routers with their own filters/expressions, and mappings.

the pro's and con's from my point of view:

Pro's

- Very maintainable.

-I think it's faster then setup 1 but I'm not sure?

Con's

- A lot of database overhead

- Or could be slower then setup1? I'm not sure.

 

For maintenance I would prefer setup2 but I'm not sure on how this wil affect the database? And if this most performant way? And what the effect will be if we keep adding other routers? And advice would be very helpfull. 

Thanks in advance

4 Comments
ディスカッション (4)2
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年4月11日

[Video] Integrating DBT and Apache Airflow with InterSystems IRIS

Hi Community,

Enjoy the new video on InterSystems Developers YouTube:

⏯ Integrating DBT and Apache Airflow with InterSystems IRIS @ Global Summit 2024

This session is your guide to setting up efficient, manageable data pipelines that save time and boost reliability. We'll show you how to bring together the processing power of dbt, the scheduling strength of Apache Airflow, and the robust data management capabilities of InterSystems IRIS. By the end of this session, you'll have a clear understanding of how to implement these tools in harmony, making your data workflows smoother and more effective. This is perfect for those looking to enhance their data operations with straightforward, effective solutions.

Presenters:
🗣 @Reven Singh, Sales Engineer, InterSystems  
🗣 @Herman Bruwer, Sales Engineer, InterSystems  

Want to learn something new? Watch the video and subscribe for more!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年4月11日

Les inscriptions sont ouvertes pour l'InterSystems READY 2025 !

Bonjour à tous,

Nous sommes heureux d'annoncer que les inscriptions pour l'événement de l'année — InterSystems Ready 2025 — sont désormais ouvertes. C'est le Global Summit que nous connaissons et apprécions tous, mais avec un nouveau nom !

➡️ InterSystems Ready 2025

🗓 Dates : 22-25 juin 2025

📍 Lieu : Signia Hilton Bonnet Creek, Orlando, Floride, États-Unis

  

InterSystems READY 2025 est un espace convivial et informatif pour la communauté InterSystems, propice aux rencontres, aux échanges et à l'échange de connaissances.

L'événement READY 2025 comprend :

  • Sessions : 3 jours et demi de sessions adaptées aux besoins des développeurs et des responsables logiciels. Les sessions sont répétées pour que vous puissiez les suivre et planifier votre emploi du temps.
  • Conférences inspirantes : Des présentations qui remettent en question vos hypothèses et mettent en lumière de nouvelles possibilités.
  • Prochaines étapes : Lors des conférences et des ateliers, vous découvrirez le programme d'InterSystems et serez prêt à affronter les nouvelles technologies.
  • Réseautage : Rencontrez les dirigeants d'InterSystems, les membres de nos équipes mondiales produit et innovation, ainsi que vos pairs du monde entier pour discuter de vos priorités.
  • Ateliers et formations personnalisées : Plongez au cœur de vos besoins avec un expert InterSystems, y compris lors d'entretiens individuels.
  • Programme pour startups : Présentez votre technologie, entrez en contact avec des acheteurs potentiels et découvrez comment InterSystems peut vous aider à accélérer la croissance de votre entreprise.
  • Pavillon des partenaires : Vous recherchez un consultant, un intégrateur de systèmes ou des outils pour simplifier votre travail ? Tout est dans le pavillon.
  • Animations : Démos et boissons, Tech Exchange et autres événements.

Découvrez les tarifs sur le site officiel et n'oubliez pas que la réduction pour les inscriptions anticipées expire le 16 avril !

Nous avons hâte de vous retrouver à InterSystems Ready 2025 !

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください