{"id":5243,"date":"2024-07-28T23:35:49","date_gmt":"2024-07-28T21:35:49","guid":{"rendered":"https:\/\/nwww.crs4.it\/?p=5243"},"modified":"2025-04-29T00:48:20","modified_gmt":"2025-04-28T22:48:20","slug":"hl7apy","status":"publish","type":"post","link":"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/","title":{"rendered":"HL7apy"},"content":{"rendered":"<p><script src=\"\/crs4_js\/people-details.js\"><\/script><\/p>\n<h3>HL7apy<\/h3>\n<h3>A lightweight Python package to intuitively handle HL7 v2 messages<\/h3>\n<div class=\"sm_hr\"><\/div>\n<h4>Contacts<\/h4>\n<div><a href=\"javascript:PeopleDetails.showAuthorDetails('188')\">Vittorio Meloni<\/a>,<a href=\"javascript:PeopleDetails.showAuthorDetails('37')\">\u00a0Alessandro Sulis<\/a>,\u00a0<a href=\"javascript:PeopleDetails.showAuthorDetails('29')\">Francesca Frexia<\/a>, Gianluigi Zanetti. E-mail:\u00a0<a class=\"linkurl\" href=\"mailto:valorisation@crs4.it\">valorisation@crs4.it<\/a><\/div>\n<h4>Challenge<\/h4>\n<p>HL7 v2 is used worldwide to solve interoperability problems among clinical systems. It is still the reference version of the IHE (Integrating Healthcare Enterprise) consortium. The increasing diffusion of the HL7 v2 standard has spurred the development of several software libraries aimed at simplifying raw messages management. The diffusion of the Python programming language has been increasing over the years, particularly in the scientific domain. The reasons for this popularity may be attributable to the language being relatively easy to learn and offering high programmer productivity.<\/p>\n<h4>Overview<\/h4>\n<p>HL7apy is a lightweight Python package to intuitively handle HL7 v2 messages according to HL7 specifications. The library offers means to create, parse, navigate and validate messages. The main features includes:<\/p>\n<ul>\n<li>message parsing;<\/li>\n<li>message creation;<\/li>\n<li>message validation following the HL7 xsd specifications;<\/li>\n<li>access to elements by name, long name or position;<\/li>\n<li>support to all simple and complex data types;<\/li>\n<li>encoding chars customization;<\/li>\n<li>message encoding in ER7 format and compliant with MLLP protocol.<\/li>\n<\/ul>\n<p>Currently supported HL7 versions are: 2.2, 2.3, 2.3.1, 2.4, 2.5, 2.5.1, 2.6, 2.7, 2.8, 2.8.1, 2.8.2<\/p>\n<h4>Innovative features<\/h4>\n<ul>\n<li>use of Python.<\/li>\n<\/ul>\n<h4>Potential users<\/h4>\n<p>Researchers and developers<\/p>\n<h4>Impact sectors<\/h4>\n<p>Health &#8211; ICT<\/p>\n<h4>Other resources<\/h4>\n<ol>\n<li><a href=\"https:\/\/github.com\/crs4\/hl7apy\">https:\/\/github.com\/crs4\/hl7apy<\/a><\/li>\n<li><a href=\"http:\/\/publications.crs4.it\/pubdocs\/2015\/MSGCDMGFZ15\/hl7apy-a-python-library-to-parse-create-and-handle-hl7v2x-messages.pdf\">V. Meloni, A. Sulis, D. Ghironi, F. Cabras, M. Del Rio, S. L. Monni, M. Gaggero, F. Frexia, G. Zanetti, HL7apy: a Python library to parse, create and handle HL7 v2.x messages. EJBI &#8211; European Journal for Biomedical Informatics EuroMISE s.r.o. pages en31-en40 vol. 11 num. 2 &#8211; january 2015. issn: 1801 &#8211; 5603.<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>HL7apy A lightweight Python package to intuitively handle HL7 v2 messages Contacts Vittorio Meloni,\u00a0Alessandro Sulis,\u00a0Francesca Frexia, Gianluigi Zanetti. E-mail:\u00a0valorisation@crs4.it Challenge HL7 v2 is used worldwide to solve interoperability problems among clinical systems. It is still the reference version of the IHE (Integrating Healthcare Enterprise) consortium. The increasing diffusion of the HL7 v2 standard has spurred [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[93,90],"tags":[],"class_list":["post-5243","post","type-post","status-publish","format-standard","hentry","category-life-sciences","category-technology-catalogue"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>HL7apy - CRS4<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HL7apy - CRS4\" \/>\n<meta property=\"og:description\" content=\"HL7apy A lightweight Python package to intuitively handle HL7 v2 messages Contacts Vittorio Meloni,\u00a0Alessandro Sulis,\u00a0Francesca Frexia, Gianluigi Zanetti. E-mail:\u00a0valorisation@crs4.it Challenge HL7 v2 is used worldwide to solve interoperability problems among clinical systems. It is still the reference version of the IHE (Integrating Healthcare Enterprise) consortium. The increasing diffusion of the HL7 v2 standard has spurred [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/\" \/>\n<meta property=\"og:site_name\" content=\"CRS4\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pages\/CRS4\/153623948010688\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-28T21:35:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-28T22:48:20+00:00\" \/>\n<meta name=\"author\" content=\"Paolo Sirigu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/\"},\"author\":{\"name\":\"Paolo Sirigu\",\"@id\":\"https:\/\/www.crs4.it\/en\/#\/schema\/person\/d6d18aa42b5f98236124cab354b7f22f\"},\"headline\":\"HL7apy\",\"datePublished\":\"2024-07-28T21:35:49+00:00\",\"dateModified\":\"2025-04-28T22:48:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/\"},\"wordCount\":270,\"publisher\":{\"@id\":\"https:\/\/www.crs4.it\/en\/#organization\"},\"articleSection\":[\"life sciences\",\"Technology catalogue\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/\",\"url\":\"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/\",\"name\":\"HL7apy - CRS4\",\"isPartOf\":{\"@id\":\"https:\/\/www.crs4.it\/en\/#website\"},\"datePublished\":\"2024-07-28T21:35:49+00:00\",\"dateModified\":\"2025-04-28T22:48:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.crs4.it\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HL7apy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.crs4.it\/en\/#website\",\"url\":\"https:\/\/www.crs4.it\/en\/\",\"name\":\"CRS4\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.crs4.it\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.crs4.it\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.crs4.it\/en\/#organization\",\"name\":\"CRS4\",\"url\":\"https:\/\/www.crs4.it\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.crs4.it\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.crs4.it\/wp-content\/uploads\/CRS4.trentennale_3.png\",\"contentUrl\":\"https:\/\/www.crs4.it\/wp-content\/uploads\/CRS4.trentennale_3.png\",\"width\":1518,\"height\":577,\"caption\":\"CRS4\"},\"image\":{\"@id\":\"https:\/\/www.crs4.it\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pages\/CRS4\/153623948010688\",\"https:\/\/www.instagram.com\/crs4.it\/\",\"https:\/\/www.youtube.com\/CRS4video\",\"https:\/\/www.linkedin.com\/company\/crs4\",\"https:\/\/www.slideshare.net\/CRS4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.crs4.it\/en\/#\/schema\/person\/d6d18aa42b5f98236124cab354b7f22f\",\"name\":\"Paolo Sirigu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.crs4.it\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b8b44484d86fad28cb7ed89c8cf7ca1057f60adcf3113c1a0f24d057dbf8005d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b8b44484d86fad28cb7ed89c8cf7ca1057f60adcf3113c1a0f24d057dbf8005d?s=96&d=mm&r=g\",\"caption\":\"Paolo Sirigu\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HL7apy - CRS4","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/","og_locale":"en_US","og_type":"article","og_title":"HL7apy - CRS4","og_description":"HL7apy A lightweight Python package to intuitively handle HL7 v2 messages Contacts Vittorio Meloni,\u00a0Alessandro Sulis,\u00a0Francesca Frexia, Gianluigi Zanetti. E-mail:\u00a0valorisation@crs4.it Challenge HL7 v2 is used worldwide to solve interoperability problems among clinical systems. It is still the reference version of the IHE (Integrating Healthcare Enterprise) consortium. The increasing diffusion of the HL7 v2 standard has spurred [&hellip;]","og_url":"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/","og_site_name":"CRS4","article_publisher":"https:\/\/www.facebook.com\/pages\/CRS4\/153623948010688","article_published_time":"2024-07-28T21:35:49+00:00","article_modified_time":"2025-04-28T22:48:20+00:00","author":"Paolo Sirigu","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/#article","isPartOf":{"@id":"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/"},"author":{"name":"Paolo Sirigu","@id":"https:\/\/www.crs4.it\/en\/#\/schema\/person\/d6d18aa42b5f98236124cab354b7f22f"},"headline":"HL7apy","datePublished":"2024-07-28T21:35:49+00:00","dateModified":"2025-04-28T22:48:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/"},"wordCount":270,"publisher":{"@id":"https:\/\/www.crs4.it\/en\/#organization"},"articleSection":["life sciences","Technology catalogue"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/","url":"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/","name":"HL7apy - CRS4","isPartOf":{"@id":"https:\/\/www.crs4.it\/en\/#website"},"datePublished":"2024-07-28T21:35:49+00:00","dateModified":"2025-04-28T22:48:20+00:00","breadcrumb":{"@id":"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.crs4.it\/en\/technology-catalogue\/hl7apy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.crs4.it\/en\/"},{"@type":"ListItem","position":2,"name":"HL7apy"}]},{"@type":"WebSite","@id":"https:\/\/www.crs4.it\/en\/#website","url":"https:\/\/www.crs4.it\/en\/","name":"CRS4","description":"","publisher":{"@id":"https:\/\/www.crs4.it\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.crs4.it\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.crs4.it\/en\/#organization","name":"CRS4","url":"https:\/\/www.crs4.it\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.crs4.it\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.crs4.it\/wp-content\/uploads\/CRS4.trentennale_3.png","contentUrl":"https:\/\/www.crs4.it\/wp-content\/uploads\/CRS4.trentennale_3.png","width":1518,"height":577,"caption":"CRS4"},"image":{"@id":"https:\/\/www.crs4.it\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pages\/CRS4\/153623948010688","https:\/\/www.instagram.com\/crs4.it\/","https:\/\/www.youtube.com\/CRS4video","https:\/\/www.linkedin.com\/company\/crs4","https:\/\/www.slideshare.net\/CRS4"]},{"@type":"Person","@id":"https:\/\/www.crs4.it\/en\/#\/schema\/person\/d6d18aa42b5f98236124cab354b7f22f","name":"Paolo Sirigu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.crs4.it\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b8b44484d86fad28cb7ed89c8cf7ca1057f60adcf3113c1a0f24d057dbf8005d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b8b44484d86fad28cb7ed89c8cf7ca1057f60adcf3113c1a0f24d057dbf8005d?s=96&d=mm&r=g","caption":"Paolo Sirigu"}}]}},"_links":{"self":[{"href":"https:\/\/www.crs4.it\/en\/wp-json\/wp\/v2\/posts\/5243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.crs4.it\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.crs4.it\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.crs4.it\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.crs4.it\/en\/wp-json\/wp\/v2\/comments?post=5243"}],"version-history":[{"count":1,"href":"https:\/\/www.crs4.it\/en\/wp-json\/wp\/v2\/posts\/5243\/revisions"}],"predecessor-version":[{"id":5245,"href":"https:\/\/www.crs4.it\/en\/wp-json\/wp\/v2\/posts\/5243\/revisions\/5245"}],"wp:attachment":[{"href":"https:\/\/www.crs4.it\/en\/wp-json\/wp\/v2\/media?parent=5243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.crs4.it\/en\/wp-json\/wp\/v2\/categories?post=5243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.crs4.it\/en\/wp-json\/wp\/v2\/tags?post=5243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}