Giter Site home page Giter Site logo

CDA To FHIR about org.hl7.fhir.core HOT 3 CLOSED

hapifhir avatar hapifhir commented on May 27, 2024
CDA To FHIR

from org.hl7.fhir.core.

Comments (3)

jdeloscobos avatar jdeloscobos commented on May 27, 2024

the output is
C:\temp> java -jar org.hl7.fhir.validator.jar c:\temp\P1.xml -transform http://h
l7.org/fhir/cda/mapping/ccdaDocumentToFhir -ig hl7.fhir.cda -ig hl7.fhir.core -o
utput c:\temp\bp1.xml
FHIR Validation tool Version 4.0.23-SNAPSHOT - Built 2019-10-02T15:02:10.634+10:
00 - Git 17e7333
Detected Java version: 1.8.0_221 from C:\Program Files\Java\jre1.8.0_221 on amd6
4 (64bit). 1746MB available
Arguments: c:\temp\P1.xml -transform http://hl7.org/fhir/cda/mapping/ccdaDocumen
tToFhir -ig hl7.fhir.cda -ig hl7.fhir.core -output c:\temp\bp1.xml
Directories: Current = C:\temp, Package Cache = C:\Users\44011322V.fhir\package
s
.. connect to tx server @ http://tx.fhir.org
.. definitions from hl7.fhir.core#current
(v4.1.0)

  • .. load IG from hl7.fhir.cda
    ... Using version 0.0.1
  • .. load IG from hl7.fhir.core
    ... Using version 4.1.0
    ...Failure: null
    java.lang.NullPointerException
    at java.io.FileOutputStream.(Unknown Source)
    at java.io.FileOutputStream.(Unknown Source)
    at java.io.PrintWriter.(Unknown Source)
    at org.hl7.fhir.r5.validation.ValidationEngine.setMapLog(ValidationEngin
    e.java:1293)
    at org.hl7.fhir.r5.validation.Validator.main(Validator.java:504)

from org.hl7.fhir.core.

oliveregger avatar oliveregger commented on May 27, 2024

I think the error comes from not setting the log parameter:
-log test.txt

I'm currently working also on transforming cda to fhir, see https://github.com/ahdis/cda-core-2.0/tree/develop to use an updated validator/package to run the transform.

from org.hl7.fhir.core.

stale avatar stale commented on May 27, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

from org.hl7.fhir.core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.