//
//  DCMQueryNode.h
//  OsiriX
//
//  Created by Lance Pysher on 1/4/05.
//  Copyright 2005 Macrad, LLC. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class DCMObject;
@class DCMCalendarDate;

@interface DCMQueryNode : NSObject {

	NSMutableArray *children;
	DCMObject *dcmObject;

}

+ (id)queryNodeWithObject:(DCMObject *)object;
- (id)initWithObject:(DCMObject *)object;
- (NSString *)uid;
- (NSString *)theDescription;
- (NSString *)name;
- (NSString *)patientID;
- (DCMCalendarDate *)date;
- (DCMCalendarDate *)time;
- (NSString *)modality;
- (NSMutableArray *)children;
- (void)addChild:(id)child;
- (DCMObject *)queryPrototype;
// values are a NSDictionary the key for the value is @"value" key for the name is @"name"  name is the tag descriptor from the tag dictionary
- (void)queryWithValues:(NSArray *)values parameters:(NSDictionary *)parameters;
- (void)move:(NSDictionary *)parameters;

@end
