Ejemplo n.º 1
0
 public FormatContextImpl(ModelToXmlResult result, string propertyPath, string elementName, string type, Ca.Infoway.Messagebuilder.Xml.ConformanceLevel
                          conformanceLevel, Cardinality cardinality, bool isSpecializationType, VersionNumber version, TimeZoneInfo dateTimeZone,
                          TimeZoneInfo dateTimeTimeZone, CodingStrength codingStrength, bool isCda) : this(result, propertyPath, elementName, type
                                                                                                           , null, conformanceLevel, cardinality, isSpecializationType, version, dateTimeZone, dateTimeTimeZone, codingStrength, null
                                                                                                           , isCda)
 {
 }
Ejemplo n.º 2
0
 public FormatContextImpl(ModelToXmlResult result, string propertyPath, string elementName, string type, string domainType
                          , Ca.Infoway.Messagebuilder.Xml.ConformanceLevel conformanceLevel, Cardinality cardinality, bool isSpecializationType, VersionNumber
                          version, TimeZoneInfo dateTimeZone, TimeZoneInfo dateTimeTimeZone, CodingStrength codingStrength, ConstrainedDatatype constraints
                          , bool isCda)
 {
     // TM - CDA - modified this case to set isSpecializationType to false (must specifically specify this value if it is required)
     // TM - CDA - modified this case to set isSpecializationType to false (must specifically specify this value if it is required)
     // TM - CDA - modified this case to set isSpecializationType to false (must specifically specify this value if it is required)
     // constraints not automatically passed on
     // tests only
     // tests only
     this.result               = result;
     this.propertyPath         = propertyPath;
     this.elementName          = elementName;
     this.type                 = type;
     this.domainType           = domainType;
     this.conformanceLevel     = conformanceLevel;
     this.cardinality          = cardinality;
     this.isSpecializationType = isSpecializationType;
     this.version              = version;
     this.dateTimeZone         = dateTimeZone;
     this.dateTimeTimeZone     = dateTimeTimeZone;
     this.codingStrength       = codingStrength;
     this.constraints          = constraints;
     this.isCda                = isCda;
 }
Ejemplo n.º 3
0
 private ParseContextImpl(string type, System.Type returnType, VersionNumber version, TimeZoneInfo dateTimeZone, TimeZoneInfo
                          dateTimeTimeZone, Ca.Infoway.Messagebuilder.Xml.ConformanceLevel conformance, Cardinality cardinality, CodingStrength strength
                          , Int32?length, ConstrainedDatatype constraints, bool isCda, bool isFixedValue)
 {
     this.type = type;
     this.expectedReturnType = returnType;
     this.version            = version;
     this.dateTimeZone       = dateTimeZone;
     this.dateTimeTimeZone   = dateTimeTimeZone;
     this.conformance        = conformance;
     this.cardinality        = cardinality;
     this.strength           = strength;
     this.length             = length;
     this.constraints        = constraints;
     this.isCda        = isCda;
     this.isFixedValue = isFixedValue;
 }
Ejemplo n.º 4
0
 // tests only
 public static ParseContext Create(string type, System.Type returnType, VersionNumber version, TimeZoneInfo dateTimeZone,
                                   TimeZoneInfo dateTimeTimeZone, Ca.Infoway.Messagebuilder.Xml.ConformanceLevel conformance, Cardinality cardinality, CodingStrength
                                   strength, Int32?length, ConstrainedDatatype constraints, bool isCda)
 {
     return(new Ca.Infoway.Messagebuilder.Marshalling.HL7.Parser.ParseContextImpl(type, returnType, version, dateTimeZone, dateTimeTimeZone
                                                                                  , conformance, cardinality, strength, length, constraints, isCda, false));
 }
Ejemplo n.º 5
0
 private ParseContext CreateContext(string typeName, Type c, VersionNumber version, Ca.Infoway.Messagebuilder.Xml.ConformanceLevel
                                    conformance, CodingStrength strength)
 {
     return(ParseContextImpl.Create(typeName, c, version, null, null, conformance, null, strength, null, null, false));
 }