我下载了FHIR Validator的Jar文件。然后我根据HL7网站上的说明运行验证器。我从cmd运行以下命令:
java -jar org.hl7.fhir.validator.jar Composition.xml -defn validation-min.xml.zip
我在桌面上下载了资源文件和验证包。但是我收到以下错误
java -Xmx512m -jar org.hl7.fhir.validator.jar Composit
ion.xml -defn validation.xml.zip
.. load definitions from validation.xml.zip
.. connect to terminology server http://fhir-dev.healthintersections.com.au/op
en
.. load Composition.xml
.. validate (xml)
Exception in thread "main" java.lang.Error: not done yet
at org.hl7.fhir.instance.utils.SimpleWorkerContext.validateCode(SimpleWo
rkerContext.java:282)
at org.hl7.fhir.instance.validation.InstanceValidator.checkCodeableConce
pt(InstanceValidator.java:219)
at org.hl7.fhir.instance.validation.InstanceValidator.validateElement(In
stanceValidator.java:1801)
at org.hl7.fhir.instance.validation.InstanceValidator.start(InstanceVali
dator.java:1238)
at org.hl7.fhir.instance.validation.InstanceValidator.validateResource(I
nstanceValidator.java:1868)
at org.hl7.fhir.instance.validation.InstanceValidator.validate(InstanceV
alidator.java:1344)
at org.hl7.fhir.instance.validation.InstanceValidator.validate(InstanceV
alidator.java:1281)
at org.hl7.fhir.instance.validation.ValidationEngine.processXml(Validati
onEngine.java:195)
at org.hl7.fhir.instance.validation.ValidationEngine.process(ValidationE
ngine.java:117)
at org.hl7.fhir.instance.validation.Validator.process(Validator.java:173
)
at org.hl7.fhir.instance.validation.Validator.main(Validator.java:102)
注意:我添加了Xmx512m,因为在没有它的情况下我经常出现内存错误
答案 0 :(得分:0)