From 867a25d3258c37fd6562b6c8f690e65c48ba0679 Mon Sep 17 00:00:00 2001 From: Chris Parker Date: Thu, 16 Feb 2017 13:43:44 -0600 Subject: [PATCH 1/2] Updated gitignore to cover IntelliJ --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 32858aa..7466478 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,11 @@ +### Intellij ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio + +*.iml + +## Directory-based project format: +.idea/ + *.class # Mobile Tools for Java (J2ME) From 2557a912dd2aff8490a202a85d043bfe32c1fdcb Mon Sep 17 00:00:00 2001 From: Chris Parker Date: Thu, 16 Feb 2017 20:03:31 -0600 Subject: [PATCH 2/2] Added ANSI_837.java and updated .gitignore --- .gitignore | 51 +++++++++++++-- build.gradle | 2 +- edireader/pom.xml | 2 +- .../berryworks/edireader/plugin/ANSI_837.java | 62 +++++++++++++++++++ pom.xml | 2 +- 5 files changed, 112 insertions(+), 7 deletions(-) create mode 100644 edireader/src/main/java/com/berryworks/edireader/plugin/ANSI_837.java diff --git a/.gitignore b/.gitignore index 7466478..cb0f901 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,46 @@ -### Intellij ### -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio +### + +.idea + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +### Intellij Patch ### +# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 *.iml +modules.xml +*.ipr -## Directory-based project format: -.idea/ +### +### +# Compiled class file *.class +# Log file +*.log + +# BlueJ files +*.ctxt + # Mobile Tools for Java (J2ME) .mtj.tmp/ @@ -15,6 +48,16 @@ *.jar *.war *.ear +*.zip +*.tar.gz +*.rar # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* + +target/ + +### + +edireader/toSplit.edi +testresults diff --git a/build.gradle b/build.gradle index f7e15a0..94cfc79 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ allprojects { apply plugin: 'maven' group = 'com.berryworks' -version = '5.3.4' + version = '5.4.6' } subprojects { diff --git a/edireader/pom.xml b/edireader/pom.xml index 9555642..94d54e0 100644 --- a/edireader/pom.xml +++ b/edireader/pom.xml @@ -11,7 +11,7 @@ com.berryworks EDIReaderCommunityEdition - 5.4.5 + 5.4.6 diff --git a/edireader/src/main/java/com/berryworks/edireader/plugin/ANSI_837.java b/edireader/src/main/java/com/berryworks/edireader/plugin/ANSI_837.java new file mode 100644 index 0000000..4cc46ca --- /dev/null +++ b/edireader/src/main/java/com/berryworks/edireader/plugin/ANSI_837.java @@ -0,0 +1,62 @@ +/* + * Copyright 2005-2015 by BerryWorks Software, LLC. All rights reserved. + * + * This file is part of EDIReader. You may obtain a license for its use directly from + * BerryWorks Software, and you may also choose to use this software under the terms of the + * GPL version 3. Other products in the EDIReader software suite are available only by licensing + * with BerryWorks. Only those files bearing the GPL statement below are available under the GPL. + * + * EDIReader is free software: you can redistribute it and/or modify it under the terms of the + * GNU General Public License as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * EDIReader is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without + * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with EDIReader. If not, + * see . + */ + +/* +* Generated by plugin generator utility by BerryWorks Software, LLC. +* +* using /home/mayberry/IntelliJProjects/edireader-trunk/testdata/sef/hipaa/837_X098.SEF +* on Tue Jul 15 22:36:07 CDT 2008 +*/ +package com.berryworks.edireader.plugin; + +import com.berryworks.edireader.Plugin; + +public class ANSI_837 extends Plugin +{ + public ANSI_837() + { + super("837", "Health Care Claim"); + loops = new LoopDescriptor[]{ + new LoopDescriptor("2300", "CLM", 2, "/2000/2300"), + new LoopDescriptor("2300", "CLM", 2, "/2000"), + new LoopDescriptor("2305", "CR7", 3, "/2000/2300/2305"), + new LoopDescriptor("2305", "CR7", 3, "/2000/2300"), + new LoopDescriptor("2000", "HL", 1, ANY_CONTEXT), + new LoopDescriptor("2440", "LQ", 4, "/2000/2300/2400/2440"), + new LoopDescriptor("2440", "LQ", 4, "/2000/2300/2400"), + new LoopDescriptor("2400", "LX", 3, "/2000/2300/2400"), + new LoopDescriptor("2400", "LX", 3, "/2000/2300"), + new LoopDescriptor("2330", "NM1", 4, "/2000/2300/2320/2330"), + new LoopDescriptor("2420", "NM1", 4, "/2000/2300/2400/2420"), + new LoopDescriptor("2310", "NM1", 3, "/2000/2300/2310"), + new LoopDescriptor("2330", "NM1", 4, "/2000/2300/2320"), + new LoopDescriptor("2420", "NM1", 4, "/2000/2300/2400"), + new LoopDescriptor("2010", "NM1", 2, "/2000/2010"), + new LoopDescriptor("2310", "NM1", 3, "/2000/2300"), + new LoopDescriptor("2010", "NM1", 2, "/2000"), + new LoopDescriptor("1000", "NM1", 1, ANY_CONTEXT), + new LoopDescriptor("2320", "SBR", 3, "/2000/2300/2320"), + new LoopDescriptor("2320", "SBR", 3, "/2000/2300"), + new LoopDescriptor(CURRENT, "SBR", 1, "/2000"), + new LoopDescriptor("2430", "SVD", 4, "/2000/2300/2400/2430"), + new LoopDescriptor("2430", "SVD", 4, "/2000/2300/2400"), + }; + } +} \ No newline at end of file diff --git a/pom.xml b/pom.xml index cb91261..3e45120 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.berryworks EDIReaderCommunityEdition - 5.4.5 + 5.4.6 pom EDIReader Community Edition