Esempio n. 1
0
        public static List <AnonExample> KeepItemExamples()
        {
            var output = new AnonExample();

            var v    = "24.23";
            var item = new DicomDecimalString(DicomTag.PatientWeight, v);

            output.Input.Add(item + ": " + v);

            var ans = KeepItem(null, null, item);

            AnonExample.InferOutput(item, ans, output);

            return(new List <AnonExample> {
                output
            });
        }
Esempio n. 2
0
        public static List <AnonExample> RemoveItemExamples()
        {
            var output = new AnonExample();

            var v    = "Lorem Ipsum";
            var item = new DicomShortString(DicomTag.PerformedLocation, v);

            output.Input.Add(item + ": " + v);

            var ans = RemoveItem(null, null, item);

            AnonExample.InferOutput(item, ans, output);

            return(new List <AnonExample> {
                output
            });
        }