Ejemplo n.º 1
0
        void ImageLibrary(StructuredReport report)
        {
            ContainerNode library = new ContainerNode(new CodedEntry("111028", "DCM", "Image Library"), ContinuityOfContent.Separate);

            report.Root.Add(library, RelationshipType.Contains);

            // there would be one of these for each image
            ImageNode image = new ImageNode(null, SOPClass.DigitalMammographyImageStorageForProcessing,
                                            "1.2.840.113564.10956419.20110513130130750480.1000000000003");

            image.ImageLaterality              = Laterality.Right;
            image.ImageView                    = ViewForMammography.CC;
            image.PatientOrientationRow        = "P";
            image.PatientOrientationColumn     = "L";
            image.StudyDate                    = "20110513";
            image.StudyTime                    = "130157";
            image.ContentDate                  = "20110513";
            image.ContentTime                  = "130156";
            image.HorizontalImagerPixelSpacing = "49";
            image.VerticalImagerPixelSpacing   = "49";

            library.Add(image, RelationshipType.Contains);
        }