小编ani*_*mal的帖子

如何将 HL7 v2.x 消息转换为 FHIR JSON?

我正在尝试使用 java 或 python 将 HL7 v2.x 消息转换为 FHIR JSON。但我找不到任何解决方案。有没有办法实现这一目标?

我发现 FHIR 能够转换为 JSON,但我不知道该怎么做。

json hl7 hl7-fhir hl7-v2

7
推荐指数
2
解决办法
1万
查看次数

java.lang.UnsatisfiedLinkError:找不到指定的模块

我刚刚从http://tess4j.sourceforge.net/下载了 Tess4J并将其导入到 netbeans 中。我正在关注这个网址,我正确地遵循了每一步,但是当我尝试执行时,我遇到了以下错误。

错误:

Exception in thread "main" java.lang.UnsatisfiedLinkError: The specified module could not be found.

    at com.sun.jna.Native.open(Native Method)
    at com.sun.jna.Native.open(Native.java:1759)
    at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:260)
    at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)
    at com.sun.jna.Library$Handler.<init>(Library.java:147)
    at com.sun.jna.Native.loadLibrary(Native.java:412)
    at com.sun.jna.Native.loadLibrary(Native.java:391)
    at net.sourceforge.tess4j.util.LoadLibs.getTessAPIInstance(LoadLibs.java:75)
    at net.sourceforge.tess4j.TessAPI.<clinit>(TessAPI.java:42)
    at net.sourceforge.tess4j.Tesseract.init(Tesseract.java:367)
    at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:280)
    at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:212)
    at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:196)
    at recognizer.Recognizer.main(Recognizer.java:17)
Java Result: 1
Run Code Online (Sandbox Code Playgroud)

我搜索并发现人们建议更新到 Visual Studio 2013 的Visual Visual C++ Redistributable Packages,我这样做了,但结果没有帮助,我仍然遇到同样的问题。我不知道我做错了什么下面是我的代码。

代码:

import java.io.*;
import net.sourceforge.tess4j.*;

public class Recognizer {
public static void main(String[] args) {
File …
Run Code Online (Sandbox Code Playgroud)

java ocr tesseract tess4j

6
推荐指数
1
解决办法
5361
查看次数

打开Spark shell时出现问题

我正试图用命令打开spark

$ spark-shell

但得到警告.如何解决它.

警告:

WARN util.Utils: Service 'SparkUI' could not bind on port 4040. Attempting port 4041.
Run Code Online (Sandbox Code Playgroud)

apache-spark

3
推荐指数
2
解决办法
7854
查看次数

使用 hl7apy 解析 HL7 时出错

我正在使用hl7apy解析 python 中的 hl7 文件,我正在关注链接。当我使用 sample.hl7 时我得到了想要的结果但是当我使用我自己的 hl7 文件时我得到以下错误

Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "hl7apy/parser.py", line 82, in parse_message
    m.structure_by_name)
  File "hl7apy/parser.py", line 144, in parse_segments
    reference))
  File "hl7apy/parser.py", line 189, in parse_segment
    reference=reference)
  File "hl7apy/core.py", line 1564, in __init__
    validation_level, traversal_parent)
  File "hl7apy/core.py", line 632, in __init__
    self._find_structure(reference)
  File "hl7apy/core.py", line 808, in _find_structure
    structure = ElementFinder.get_structure(self, reference)
  File "hl7apy/core.py", line 524, in get_structure
    raise InvalidName(element.classname, element.name)
  hl7apy.exceptions.InvalidName: …
Run Code Online (Sandbox Code Playgroud)

python hl7 hl7-v2

1
推荐指数
1
解决办法
1373
查看次数

标签 统计

hl7 ×2

hl7-v2 ×2

apache-spark ×1

hl7-fhir ×1

java ×1

json ×1

ocr ×1

python ×1

tess4j ×1

tesseract ×1