예제 #1
0
 public TypedElementReferenceIdentifier(Segment segment, int elementNumber)
     : base(segment, elementNumber)
 {
     if (0 < SubElements.Count())
     {
         _1_ReferenceIdentifierQualifier = SubElements.ElementAt(0);
     }
     if (1 < SubElements.Count())
     {
         _2_ReferenceIdentifier = SubElements.ElementAt(1);
     }
     if (2 < SubElements.Count())
     {
         _3_ReferenceIdentifierQualifier = SubElements.ElementAt(2);
     }
     if (3 < SubElements.Count())
     {
         _4_ReferenceIdentifier = SubElements.ElementAt(3);
     }
     if (4 < SubElements.Count())
     {
         _5_ReferenceIdentifierQualifier = SubElements.ElementAt(4);
     }
     if (5 < SubElements.Count())
     {
         _6_ReferenceIdentifier = SubElements.ElementAt(5);
     }
 }
예제 #2
0
 public TypedElementContextIdentification(Segment segment, int elementNumber)
     : base(segment, elementNumber)
 {
     if (0 < SubElements.Count())
     {
         _1_ContextName = SubElements.ElementAt(0);
     }
     if (1 < SubElements.Count())
     {
         _2_ContextReference = SubElements.ElementAt(1);
     }
 }
 public TypedElementAdjustmentIdentifier(Segment segment, int elementNumber)
     : base(segment, elementNumber)
 {
     if (0 < SubElements.Count())
     {
         _1_AdjustmentReasonCode = SubElements.ElementAt(0);
     }
     if (1 < SubElements.Count())
     {
         _2_ReferenceIdentification = SubElements.ElementAt(1);
     }
 }
예제 #4
0
 public TypedElementServiceLocationInfo(Segment segment, int elementNumber)
     : base(segment, elementNumber)
 {
     if (0 < SubElements.Count())
     {
         _1_FacilityCodeValue = SubElements.ElementAt(0).ToEnumFromEDIFieldValue <PlaceOfServiceCodes>();
     }
     if (1 < SubElements.Count())
     {
         _2_FacilityCodeQualifier = SubElements.ElementAt(1);
     }
     if (2 < SubElements.Count())
     {
         _3_ClaimFrequencyTypeCode = SubElements.ElementAt(2);
     }
 }
예제 #5
0
 public TypedElementHealthCareClaimStatus(Segment segment, int elementNumber)
     : base(segment, elementNumber)
 {
     if (0 < SubElements.Count())
     {
         _1_IndustryCode = SubElements.ElementAt(0);
     }
     if (1 < SubElements.Count())
     {
         _2_IndustryCode = SubElements.ElementAt(1);
     }
     if (2 < SubElements.Count())
     {
         _3_EntityIdentifierCode = SubElements.ElementAt(2).ToEnumFromEDIFieldValue <EntityIdentifierCode>();
     }
 }
 public TypedElementPositionInSegment(Segment segment, int elementNumber)
     : base(segment, elementNumber)
 {
     if (0 < SubElements.Count())
     {
         _1_ElementPositionInSegment = Convert.ToInt32(SubElements.ElementAt(0));
     }
     if (1 < SubElements.Count())
     {
         _2_ComponentDataElementPositionInComposite = Convert.ToInt32(SubElements.ElementAt(1));
     }
     if (2 < SubElements.Count())
     {
         _3_RepeatingDataElementPosition = Convert.ToInt32(SubElements.ElementAt(2));
     }
 }
 public TypedElementCompositDiagnosisCodePointer(Segment segment, int elementNumber)
     : base(segment, elementNumber)
 {
     if (0 < SubElements.Count())
     {
         _1_DiagnosisCodePointer = Convert.ToInt32(SubElements.ElementAt(0));
     }
     if (1 < SubElements.Count())
     {
         _2_DiagnosisCodePointer = Convert.ToInt32(SubElements.ElementAt(1));
     }
     if (2 < SubElements.Count())
     {
         _3_DiagnosisCodePointer = Convert.ToInt32(SubElements.ElementAt(2));
     }
     if (3 < SubElements.Count())
     {
         _4_DiagnosisCodePointer = Convert.ToInt32(SubElements.ElementAt(3));
     }
 }
예제 #8
0
 public TypedElementHealthCareCodeInformation(Model.Segment _segment, int _elementNumber)
     : base(_segment, _elementNumber)
 {
     if (0 < SubElements.Count())
     {
         _1_CodeListQualifierCode = SubElements.ElementAt(0).ToEnumFromEDIFieldValue <CodeListQualifierCode>();
     }
     if (1 < SubElements.Count())
     {
         _2_IndustryCode = SubElements.ElementAt(1);
     }
     if (2 < SubElements.Count())
     {
         _3_DateTimePeriodFormatQualifierEnum = SubElements.ElementAt(2).ToEnumFromEDIFieldValue <DTPQualifier>();
     }
     if (3 < SubElements.Count())
     {
         _4_DateTimePeriod = new DateTimePeriod(SubElements.ElementAt(3));
     }
     if (4 < SubElements.Count())
     {
         _5_MonetaryAmount = Convert.ToDecimal(SubElements.ElementAt(4));
     }
     if (5 < SubElements.Count())
     {
         _6_Quantity = Convert.ToDecimal(SubElements.ElementAt(5));
     }
     if (6 < SubElements.Count())
     {
         _7_VersionIdentifier = SubElements.ElementAt(6);
     }
     if (7 < SubElements.Count())
     {
         _8_IndustryCode = SubElements.ElementAt(7);
     }
     if (8 < SubElements.Count())
     {
         _9_IndustryCode = SubElements.ElementAt(8);
     }
 }
예제 #9
0
 public TypedElementRelatedCausesInfo(Segment segment, int elementNumber)
     : base(segment, elementNumber)
 {
     if (0 < SubElements.Count())
     {
         _1_RelatedCausesCode = SubElements.ElementAt(0);
     }
     if (1 < SubElements.Count())
     {
         _2_RelatedCausesCode = SubElements.ElementAt(1);
     }
     if (2 < SubElements.Count())
     {
         _3_RelatedCausesCode = SubElements.ElementAt(2);
     }
     if (3 < SubElements.Count())
     {
         _4_StateOrProvidenceCode = SubElements.ElementAt(3);
     }
     if (4 < SubElements.Count())
     {
         _5_CountryCode = SubElements.ElementAt(4);
     }
 }
 public TypedElementCompositeMedicalProcedureIdentifier(Segment segment, int elementNumber)
     : base(segment, elementNumber)
 {
     if (0 < SubElements.Count())
     {
         _1_ProductOrServiceIdQualifier = SubElements.ElementAt(0).ToEnumFromEDIFieldValue <ProductOrServiceIdQualifiers>();
     }
     if (1 < SubElements.Count())
     {
         _2_ProcedureCode = SubElements.ElementAt(1);
     }
     if (2 < SubElements.Count())
     {
         _3_ProcedureModifier = SubElements.ElementAt(2);
     }
     if (3 < SubElements.Count())
     {
         _4_ProcedureModifier = SubElements.ElementAt(3);
     }
     if (4 < SubElements.Count())
     {
         _5_ProcedureModifier = SubElements.ElementAt(4);
     }
     if (5 < SubElements.Count())
     {
         _6_ProcedureModifier = SubElements.ElementAt(5);
     }
     if (6 < SubElements.Count())
     {
         _7_Description = SubElements.ElementAt(6);
     }
     if (7 < SubElements.Count())
     {
         _8_ProductOrServiceId = SubElements.ElementAt(7);
     }
 }
예제 #11
0
 public TypedElementCompositeUnitOfMeasure(Segment segment, int elementNumber)
     : base(segment, elementNumber)
 {
     if (0 < SubElements.Count())
     {
         _1_UnitOrBasisMeasCode = SubElements.ElementAt(0).ToEnumFromEDIFieldValue <UnitOrBasisOfMeasurementCode>();
     }
     if (1 < SubElements.Count())
     {
         _2_Exponent1 = SubElements.ElementAt(1);
     }
     if (2 < SubElements.Count())
     {
         _3_Multiplier = SubElements.ElementAt(2);
     }
     if (3 < SubElements.Count())
     {
         _4_UnitOrBasisMeasCode = SubElements.ElementAt(3).ToEnumFromEDIFieldValue <UnitOrBasisOfMeasurementCode>();
     }
     if (4 < SubElements.Count())
     {
         _5_Exponent2 = SubElements.ElementAt(4);
     }
     if (5 < SubElements.Count())
     {
         _6_Multiplier = SubElements.ElementAt(5);
     }
     if (6 < SubElements.Count())
     {
         _7_UnitOrBasisMeasCode = SubElements.ElementAt(6).ToEnumFromEDIFieldValue <UnitOrBasisOfMeasurementCode>();
     }
     if (7 < SubElements.Count())
     {
         _8_Exponent3 = SubElements.ElementAt(7);
     }
     if (8 < SubElements.Count())
     {
         _9_Multiplier = SubElements.ElementAt(8);
     }
     if (9 < SubElements.Count())
     {
         _10_UnitOrBasisMeasCode = SubElements.ElementAt(9).ToEnumFromEDIFieldValue <UnitOrBasisOfMeasurementCode>();
     }
     if (10 < SubElements.Count())
     {
         _11_Exponent4 = SubElements.ElementAt(10);
     }
     if (11 < SubElements.Count())
     {
         _12_Multiplier = SubElements.ElementAt(11);
     }
     if (12 < SubElements.Count())
     {
         _13_UnitOrBasisMeasCode = SubElements.ElementAt(12).ToEnumFromEDIFieldValue <UnitOrBasisOfMeasurementCode>();
     }
     if (13 < SubElements.Count())
     {
         _14_Exponent5 = SubElements.ElementAt(13);
     }
     if (14 < SubElements.Count())
     {
         _15_Multiplier = SubElements.ElementAt(14);
     }
 }