{"id":76887,"library":"hapi-structures-v24","title":"HAPI Structures v2.4","description":"HAPI is an open-source, object-oriented HL7 2.x parser for Java, providing structures for HL7 version 2.4 messages.","status":"active","version":"2.6.0","language":"java","source_language":null,"source_url":"https://github.com/hapifhir/hapi-hl7v2","tags":["hl7","healthcare","parsing","hapi"],"install":[{"cmd":"<dependency>\n  <groupId>ca.uhn.hapi</groupId>\n  <artifactId>hapi-structures-v24</artifactId>\n  <version>2.6.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'ca.uhn.hapi:hapi-structures-v24:2.6.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"ADT_A01","correct":"ca.uhn.hl7v2.model.v24.message.ADT_A01"}],"quickstart":{"code":"import ca.uhn.hl7v2.model.v24.message.ADT_A01;\nimport ca.uhn.hl7v2.parser.PipeParser;\n\nADT_A01 adt = new ADT_A01();\nadt.getMSH().getMessageType().getMessageCode().setValue(\"ADT\");\nadt.getMSH().getMessageType().getTriggerEvent().setValue(\"A01\");\nString encoded = new PipeParser().encode(adt);\nSystem.out.println(encoded);","lang":"java","description":"Creates and encodes an HL7 ADT_A01 message using HAPI."},"warnings":[],"env_vars":null,"search_vec":"'2':14 '2.4':24 'hapi':1,4,29 'healthcar':27 'hl7':13,22,26 'java':18 'messag':25 'object':11 'object-ori':10 'open':8 'open-sourc':7 'orient':12 'pars':28 'parser':16 'provid':19 'sourc':9 'structur':2,20 'v2.4':3 'version':23 'x':15","created_at":"2026-06-17T19:39:52.667648+00:00","updated_at":"2026-06-17T19:39:52.667648+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://hl7api.sourceforge.net/","github":"https://github.com/hapifhir/hapi-hl7v2","docs":"https://appdoc.app/artifact/ca.uhn.hapi/hapi-structures-v24/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}