我正在尝试使用 http://cda-validation.nist.gov/cda-validation/validation.html验证 XML
我需要为 PHMR v1.1 验证它
该代码位于http://www.filedropper.com/cda4,抱歉,我找不到更好的替代方法来发布大型代码文件。不幸的是,我遇到了错误,例如
Message cvc-complex-type.2.4.a: Invalid content was found starting with element 'id'. One of '{"urn:hl7-org:v3":realmCode, "urn:hl7-org:v3":typeId}' is expected.
Message cvc-complex-type.2.4.a: Invalid content was found starting with element 'parentDocument'. One of '{"urn:hl7-org:v3":realmCode, "urn:hl7-org:v3":typeId, "urn:hl7-org:v3":templateId, "urn:hl7-org:v3":patientRole}' is expected.
Message cvc-complex-type.2.4.a: Invalid content was found starting with element 'currentEncounter'. One of '{"urn:hl7-org:v3":realmCode, "urn:hl7-org:v3":typeId, "urn:hl7-org:v3":templateId, "urn:hl7-org:v3":encompassingEncounter}' is expected.
我尝试添加错误代码中的建议之一,但这没有帮助。有人可以帮帮我吗?