查找

摘要
· 九月 8

Publications des développeurs d'InterSystems, semaine Septembre 01 - 07, 2025, Résumé

文章
· 九月 8 阅读大约需 1 分钟

Poner (o quitar) esos guiones (-) en vuestra operación FHIR personalizada

Muchas veces, al trabajar con datos FHIR, por ejemplo con IRIS For Health, resulta útil crear una operación FHIR personalizada. El estándar FHIR incluye un conjunto de operaciones definidas (como $everything), pero una operación personalizada es práctica cuando necesitáis añadir funcionalidades adicionales que van más allá del conjunto de operaciones estándar de FHIR. La documentación lo explica paso a paso (aunque este comentario puede resultar útil para quienes estáis empezando).

Una cosa que destacaría, meramente por motivos estéticos, es cómo nombrar sintácticamente vuestra función de manera que podáis llamarla con guiones. La documentación lo explica:

Si vuestra operación contiene un guion (-), simplemente quitad el guion del nombre del método. Por ejemplo, si la operación a nivel de sistema es $my-operation, nombrad el método FHIRSystemOpMyOperation.

Aunque lo voy a dejar más explícito aquí:

Para una operación sin guiones, por ejemplo $thisismyoperation, entonces nombrad vuestro método FHIRSystemOpThisismyoperation (sí, la “T” de “This” debe ir en mayúscula).

Si en cambio queréis que vuestra operación sea $this-is-my-operation, vuestro método debería ser FHIRSystemOpThisIsMyOperation. (La letra mayúscula se traduce en la necesidad de un guion antes).

讨论 (0)1
登录或注册以继续
公告
· 九月 8

InterSystems External Languages Contest: .Net, Java, Python, JavaScript

Hi Developers,

We are happy to announce the new InterSystems online programming contest:

🏆 InterSystems External Languages Contest 🏆

Duration: September 22 - October 12, 2025

Prize pool: $12,000


 The topic

Develop an application that showcases the use of External Languages with InterSystems IRIS.  

General Requirements:

  1. An application or library must be fully functional. It should not be an import or a direct interface for an already existing library in another language (except for C++, there you really need to do a lot of work to create an interface for IRIS). It should not be a copy-paste of an existing application or library.
  2. Accepted applications: new to Open Exchange apps or existing ones, but with a significant improvement. Our team will review all applications before approving them for the contest.
  3. The application should work either on IRIS Community Edition or IRIS for Health Community Edition. Both could be downloaded as host (Mac, Windows) versions from Evaluation site, or can be used in a form of containers pulled from InterSystems Container Registry or Community Containers: intersystemsdc/iris-community:latest or intersystemsdc/irishealth-community:latest .  
  4. The application should be Open Source and published on GitHub or GitLab.  
  5. The README file to the application should be in English, contain the installation steps, and contain either the video demo or/and a description of how the application works.
  6. Only 3 submissions from one developer are allowed.

NB. Our experts will have the final say in whether the application is approved for the contest or not, based on the criteria of complexity and usefulness. Their decision is final and not subject to appeal.

Prizes

1. Experts Nomination - a specially selected jury will determine winners:

🥇 1st place - $5,000 

🥈 2nd place - $2,500 

🥉 3rd place - $1,000

🏅 4th place - $500

🏅 5th place - $300

🌟 6-10th places - $100

2. Community winners - applications that will receive the most votes in total:

🥇 1st place - $1,000 

🥈 2nd place - $600 

🥉 3rd place - $300

🏅 4th place - $200

🏅 5th place - $100

❗ If several participants score the same number of votes, they are all considered winners, and the prize money is shared among the winners.
❗ Cash prizes are awarded only to those who can verify their identity. If there are any doubts, organizers will reach out and request additional information about the participant(s).

Who can participate?

Any Developer Community member, except for InterSystems employees (ISC contractors allowed). Create an account!

Developers can team up to create a collaborative application, with a team size limit of 5 developers.

Do not forget to highlight your team members in the README of your application – DC user profiles.

Important Deadlines:

🛠 Application development and registration phase:

  • September 22, 2025 (00:00 EST): Contest begins.
  • October 5, 2025 (23:59 EST): Deadline for submissions.

 Voting period:

  • October 6, 2025 (00:00 EST): Voting begins.
  • October 12, 2025 (23:59 EST): Voting ends.

Note: Developers can improve their apps throughout the entire registration and voting period.

    Helpful Resources:

    ✓ Documentation:

    ✓ Example applications:

    ✓ For beginners with IRIS:

    ✓ For beginners with ObjectScript Package Manager (IPM):

    ✓ How to submit your app to the contest:

    Need Help?

    Join the contest channel on InterSystems' Discord server or talk with us in the comments to this post. 

    We're waiting for YOUR project – join our coding marathon to win! 


    By participating in this contest, you agree to the competition terms laid out here. Please read them carefully before proceeding.

    讨论 (0)1
    登录或注册以继续
    公告
    · 九月 8

    Sed parte de nuestro vídeo del 10.º aniversario

    Este año, nuestra Comunidad de Desarrolladores de InterSystems cumple 10 años, ¡y os invitamos a formar parte de la celebración!

    Estamos creando un vídeo especial de la comunidad lleno de saludos y recuerdos de miembros de todo el mundo. ¿Queréis uniros? Es muy sencillo:

    ▶️ Grabáis un clip corto (1-2 minutos) en el que:

    • Compartáis un momento destacado o un recuerdo especial de vuestro tiempo en la Comunidad de Desarrolladores
    • Enviéis vuestra felicitación por el 10.º aniversario 🎊

    Uniremos todas las contribuciones en un gran vídeo de celebración para que todos lo disfruten 🎬✨

    👉 Haced clic aquí para grabar vuestro vídeo

    Solo os llevará un par de minutos: simplemente seguid las instrucciones en pantalla; no se necesita configuración. Cuando terminéis, recibiremos vuestro vídeo automáticamente.

    ¡No perdáis la oportunidad de aparecer en la celebración oficial del 10.º aniversario! 🥂

    讨论 (0)1
    登录或注册以继续
    文章
    · 九月 8 阅读大约需 1 分钟

    Convertir lista de Python %SYS.Python a %Library.DynamicArray en ObjectScript

    Como parte de un proyecto técnico reciente de documentación para optimizar la búsqueda, necesité usar Embedded Python en mi código ObjectScript. El principal obstáculo fue pasar una lista de Python desde un método de clase en Python a un método en ObjectScript. Enviar la lista por referencia al método Python, llenarla con el método Insert(), y devolver la referencia al método ObjectScript resultaba en una lista de tipo %SYS.Python, un proceso sencillo pero no eficiente.

    Exploré un método alternativo: convertir una lista de Python en una lista de ObjectScript usando JSON como formato intermedio. Este enfoque parece requerir menos código y ofrece un mejor rendimiento en tiempo de ejecución.

    Dentro del código Python:

        list = ["a", "b", "c", "d"]
        jsonExport = json.dumps(list)

    Dentro del código ObjectScript:

        jsonExport = ##class(Example.Case).GetPythonList()
        set list = ##class(%DynamicAbstractObject).%FromJSON(jsonExport)
    讨论 (0)0
    登录或注册以继续