Examples of IOD


Examples of org.dcm4che3.data.IOD

*/
public class IODTest {

    @Test
    public void testValidateDICOMDIR() throws Exception {
        IOD iod = IOD.load("resource:dicomdir-iod.xml");
        Attributes attrs = readDataset("DICOMDIR");
        ValidationResult result = attrs.validate(iod);
        assertTrue(result.isValid());
    }
View Full Code Here

Examples of org.dcm4che3.data.IOD

        assertTrue(result.isValid());
    }

    @Test
    public void testValidateCode() throws Exception {
        IOD iod = IOD.load("resource:code-iod.xml");
        Attributes attrs = new Attributes(2);
        attrs.newSequence(Tag.ConceptNameCodeSequence, 1).add(
                new Code("CV-9991", "99DCM4CHE", null, "CM-9991").toItem());
        Attributes contentNode = new Attributes(2);
        contentNode.newSequence(Tag.ConceptNameCodeSequence, 1).add(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.