HL7 MDM library

Java classes for creating MDM messages

License

License

GroupId

GroupId

au.gov.nehta
ArtifactId

ArtifactId

hl7-mdm-library
Last Version

Last Version

1.1.5
Release Date

Release Date

Type

Type

jar
Description

Description

HL7 MDM library
Java classes for creating MDM messages
Project URL

Project URL

https://github.com/AuDigitalHealth/hl7-mdm-library-java
Source Code Management

Source Code Management

https://github.com/AuDigitalHealth/hl7-mdm-library-java.git

Download hl7-mdm-library

How to add to project

<!-- https://jarcasting.com/artifacts/au.gov.nehta/hl7-mdm-library/ -->
<dependency>
    <groupId>au.gov.nehta</groupId>
    <artifactId>hl7-mdm-library</artifactId>
    <version>1.1.5</version>
</dependency>
// https://jarcasting.com/artifacts/au.gov.nehta/hl7-mdm-library/
implementation 'au.gov.nehta:hl7-mdm-library:1.1.5'
// https://jarcasting.com/artifacts/au.gov.nehta/hl7-mdm-library/
implementation ("au.gov.nehta:hl7-mdm-library:1.1.5")
'au.gov.nehta:hl7-mdm-library:jar:1.1.5'
<dependency org="au.gov.nehta" name="hl7-mdm-library" rev="1.1.5">
  <artifact name="hl7-mdm-library" type="jar" />
</dependency>
@Grapes(
@Grab(group='au.gov.nehta', module='hl7-mdm-library', version='1.1.5')
)
libraryDependencies += "au.gov.nehta" % "hl7-mdm-library" % "1.1.5"
[au.gov.nehta/hl7-mdm-library "1.1.5"]

Dependencies

compile (3)

Group / Artifact Type Version
au.gov.nehta : smi-common-utils jar 1.2.1
au.gov.nehta : common-library jar 1.2.1
org.bouncycastle : bcprov-jdk15on jar 1.68

test (1)

Group / Artifact Type Version
junit : junit jar 4.13.1

Project Modules

There are no modules declared in this project.

HL7 MDM Library

Introduction

This is a software utility library for creating MDM messages, encapsulating CDA package file content.

Setup

  • To build and test the distributable package, an appropriate Java IDE or build environment must be installed.

  • For detailed API documentation, refer to the included Javadoc packages.

Solution

The solution consists of the following packages:

-   au.gov.nehta.vendorlibrary.mdm.core
    Contains the message model.

-   au.gov.nehta.vendorlibrary.mdm.segments
    Contains the logical segment classes used in building up a message.

-   au.gov.nehta.vendorlibrary.mdm.enums
    Enumerators used by this vendor library

-   au.gov.nehta.vendorlibrary.mdm.util
    Contains utility classes for helper class functionality.

Examples

Example code is included showing MDM message creation/extraction:

-   /src/sample/java/au/gov/nehta/vendorlibrary/mdm/sample/MDMGenerateSample.java

-   /src/sample/java/au/gov/nehta/vendorlibrary/mdm/sample/MDMExtractSample.java

Pre-Requisites

Java Development Kit (JDK)

  1. Download and install JDK 8 Update 271 or later: URL: http://www.oracle.com/technetwork/java/javase/downloads/index.html

  2. Unpack the JDK distribution into a directory of your choice.

    This directory will be your <JDK_HOME>and will be used in this document to refer to the root directory of the JDK installation.

    <JRE_HOME> will be used in this document to refer to <JDK_HOME>/jre.

  3. Create a JAVA_HOME environment variable pointing to the <JDK_HOME> directory in [2].

  4. Add <JDK_HOME>/bin to the system path.

BouncyCastle

An open source, third-party library has been used in this project for the purposes of Base 64 encode/decode functionality. More information on this library and its associated library is available here:

URL: http://bouncycastle.org

Licensing

Copyright 2012 NEHTA Copyright 2021 ADHA

Licensed under the NEHTA/ADHA Open Source (Apache) License; you may not use this file except in compliance with the License. A copy of the License is in the 'LICENSE.txt' file, which should be provided with this work.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

au.gov.nehta

Australian Digital Health Agency

Versions

Version
1.1.5