Exemplo n.º 1
0
public Loop2100D(X12Doc owningDoc, LoopEntity prev, LoopCollection parent):base(owningDoc, prev, parent){
SubscriberName = new Nm1Collection(this, nameof(SubscriberName));
SegmentCollections.Add(SubscriberName);
 
ClaimStatusTrackingNumberLoop = new Loop2200DCollection("Loop2200D", nameof(ClaimStatusTrackingNumberLoop), OwningDoc, parent, parent);
ChildLoopCollections.Add(ClaimStatusTrackingNumberLoop);
}
Exemplo n.º 2
0
public Loop2200D(X12Doc owningDoc, LoopEntity prev, LoopCollection parent):base(owningDoc, prev, parent){
ClaimStatusTrackingNumber = new TrnCollection(this, nameof(ClaimStatusTrackingNumber));
SegmentCollections.Add(ClaimStatusTrackingNumber);
ClaimLevelStatusInformation = new StcCollection(this, nameof(ClaimLevelStatusInformation));
SegmentCollections.Add(ClaimLevelStatusInformation);
PayerClaimControlNumber = new RefCollection(this, nameof(PayerClaimControlNumber));
SegmentCollections.Add(PayerClaimControlNumber);
InstitutionalBillTypeIdentification = new RefCollection(this, nameof(InstitutionalBillTypeIdentification));
SegmentCollections.Add(InstitutionalBillTypeIdentification);
PatientControlNumber = new RefCollection(this, nameof(PatientControlNumber));
SegmentCollections.Add(PatientControlNumber);
PharmacyPrescriptionNumber = new RefCollection(this, nameof(PharmacyPrescriptionNumber));
SegmentCollections.Add(PharmacyPrescriptionNumber);
VoucherIdentifier = new RefCollection(this, nameof(VoucherIdentifier));
SegmentCollections.Add(VoucherIdentifier);
ClaimIdentificationNumberForClearinghousesAnd = new RefCollection(this, nameof(ClaimIdentificationNumberForClearinghousesAnd));
SegmentCollections.Add(ClaimIdentificationNumberForClearinghousesAnd);
ClaimServiceDate = new DtpCollection(this, nameof(ClaimServiceDate));
SegmentCollections.Add(ClaimServiceDate);
 
ServiceLineInformationLoop = new Loop2220DCollection("Loop2220D", nameof(ServiceLineInformationLoop), OwningDoc, parent, parent);
ChildLoopCollections.Add(ServiceLineInformationLoop);
DependentLevelLoop = new Loop2000ECollection("Loop2000E", nameof(DependentLevelLoop), OwningDoc, parent, parent);
ChildLoopCollections.Add(DependentLevelLoop);
DependentNameLoop = new Loop2100ECollection("Loop2100E", nameof(DependentNameLoop), OwningDoc, parent, parent);
ChildLoopCollections.Add(DependentNameLoop);
ClaimStatusTrackingNumberLoop = new Loop2200ECollection("Loop2200E", nameof(ClaimStatusTrackingNumberLoop), OwningDoc, parent, parent);
ChildLoopCollections.Add(ClaimStatusTrackingNumberLoop);
}
    public Loop2200E(X12Doc owningDoc, LoopEntity prev, LoopCollection parent) : base(owningDoc, prev, parent)
    {
        ClaimStatusTrackingNumber = new TrnCollection(this, nameof(ClaimStatusTrackingNumber));
        SegmentCollections.Add(ClaimStatusTrackingNumber);
        PayerClaimControlNumber = new RefCollection(this, nameof(PayerClaimControlNumber));
        SegmentCollections.Add(PayerClaimControlNumber);
        InstitutionalBillTypeIdentification = new RefCollection(this, nameof(InstitutionalBillTypeIdentification));
        SegmentCollections.Add(InstitutionalBillTypeIdentification);
        ApplicationOrLocationSystemIdentifier = new RefCollection(this, nameof(ApplicationOrLocationSystemIdentifier));
        SegmentCollections.Add(ApplicationOrLocationSystemIdentifier);
        GroupNumber = new RefCollection(this, nameof(GroupNumber));
        SegmentCollections.Add(GroupNumber);
        PatientControlNumber = new RefCollection(this, nameof(PatientControlNumber));
        SegmentCollections.Add(PatientControlNumber);
        PharmacyPrescriptionNumber = new RefCollection(this, nameof(PharmacyPrescriptionNumber));
        SegmentCollections.Add(PharmacyPrescriptionNumber);
        ClaimIdentificationNumberForClearinghousesAnd = new RefCollection(this, nameof(ClaimIdentificationNumberForClearinghousesAnd));
        SegmentCollections.Add(ClaimIdentificationNumberForClearinghousesAnd);
        ClaimSubmittedCharges = new AmtCollection(this, nameof(ClaimSubmittedCharges));
        SegmentCollections.Add(ClaimSubmittedCharges);
        ClaimServiceDate = new DtpCollection(this, nameof(ClaimServiceDate));
        SegmentCollections.Add(ClaimServiceDate);

        ServiceLineInformationLoop = new Loop2210ECollection("Loop2210E", nameof(ServiceLineInformationLoop), OwningDoc, parent, parent);
        ChildLoopCollections.Add(ServiceLineInformationLoop);
    }
Exemplo n.º 4
0
        public Loop2200E(LoopCollectionBase parent) : base(parent)
        {
            ClaimStatusTrackingNumber = new TrnCollection(this, nameof(ClaimStatusTrackingNumber));
            SegmentCollections.Add(ClaimStatusTrackingNumber);
            ClaimLevelStatusInformation = new StcCollection(this, nameof(ClaimLevelStatusInformation));
            SegmentCollections.Add(ClaimLevelStatusInformation);
            PayerClaimControlNumber = new RefCollection(this, nameof(PayerClaimControlNumber));
            SegmentCollections.Add(PayerClaimControlNumber);
            InstitutionalBillTypeIdentification = new RefCollection(this, nameof(InstitutionalBillTypeIdentification));
            SegmentCollections.Add(InstitutionalBillTypeIdentification);
            PatientControlNumber = new RefCollection(this, nameof(PatientControlNumber));
            SegmentCollections.Add(PatientControlNumber);
            PharmacyPrescriptionNumber = new RefCollection(this, nameof(PharmacyPrescriptionNumber));
            SegmentCollections.Add(PharmacyPrescriptionNumber);
            VoucherIdentifier = new RefCollection(this, nameof(VoucherIdentifier));
            SegmentCollections.Add(VoucherIdentifier);
            ClaimIdentificationNumberForClearinghousesAnd =
                new RefCollection(this, nameof(ClaimIdentificationNumberForClearinghousesAnd));
            SegmentCollections.Add(ClaimIdentificationNumberForClearinghousesAnd);
            ClaimServiceDate = new DtpCollection(this, nameof(ClaimServiceDate));
            SegmentCollections.Add(ClaimServiceDate);

            ServiceLineInformationLoop = new Loop2220ECollection("Loop2220E", nameof(ServiceLineInformationLoop), parent.OwningX12Doc, parent);
            ChildLoopCollections.Add(ServiceLineInformationLoop);
        }
Exemplo n.º 5
0
        public Loop2000A(LoopCollectionBase parent) : base(parent)
        {
            InformationSourceLevel = new HlCollection(this, nameof(InformationSourceLevel));
            SegmentCollections.Add(InformationSourceLevel);

            PayerNameLoop = new Loop2100ACollection("Loop2100A", nameof(PayerNameLoop), parent.OwningX12Doc, parent);
            ChildLoopCollections.Add(PayerNameLoop);
        }
Exemplo n.º 6
0
        /// <summary>
        /// Validate all instances of this loop, all segments in each loop, all child loops and subsequent segments within them
        /// </summary>
        /// <returns></returns>
        public virtual bool Validate()
        {
            //todo finish this validation code
            bool retVal = ChildLoopCollections.All(c => c.Validate());

            retVal = retVal && SegmentCollections.All(c => c.Segments.All(d => d.Validate()));

            return(retVal);
        }
Exemplo n.º 7
0
        public Loop2000B(LoopCollectionBase parent) : base(parent)
        {
            InformationReceiverLevel = new HlCollection(this, nameof(InformationReceiverLevel));
            SegmentCollections.Add(InformationReceiverLevel);

            InformationReceiverNameLoop = new Loop2100BCollection("Loop2100B", nameof(InformationReceiverNameLoop), parent.OwningX12Doc, parent);
            ChildLoopCollections.Add(InformationReceiverNameLoop);
            InformationReceiverTraceIdentifierLoop = new Loop2200BCollection("Loop2200B", nameof(InformationReceiverTraceIdentifierLoop), parent.OwningX12Doc, parent);
            ChildLoopCollections.Add(InformationReceiverTraceIdentifierLoop);
        }
Exemplo n.º 8
0
        public Loop2000E(LoopCollectionBase parent) : base(parent)
        {
            DependentLevel = new HlCollection(this, nameof(DependentLevel));
            SegmentCollections.Add(DependentLevel);

            DependentNameLoop = new Loop2100ECollection("Loop2100E", nameof(DependentNameLoop), parent.OwningX12Doc, parent);
            ChildLoopCollections.Add(DependentNameLoop);
            ClaimStatusTrackingNumberLoop = new Loop2200ECollection("Loop2200E", nameof(ClaimStatusTrackingNumberLoop), parent.OwningX12Doc, parent);
            ChildLoopCollections.Add(ClaimStatusTrackingNumberLoop);
        }
Exemplo n.º 9
0
        public Loop2000D(LoopCollectionBase parent) : base(parent)
        {
            SubscriberLevel = new HlCollection(this, nameof(SubscriberLevel));
            SegmentCollections.Add(SubscriberLevel);

            SubscriberNameLoop = new Loop2100DCollection("Loop2100D", nameof(SubscriberNameLoop), parent.OwningX12Doc, parent);
            ChildLoopCollections.Add(SubscriberNameLoop);
            ClaimStatusTrackingNumberLoop = new Loop2200DCollection("Loop2200D", nameof(ClaimStatusTrackingNumberLoop), parent.OwningX12Doc, parent);
            ChildLoopCollections.Add(ClaimStatusTrackingNumberLoop);
        }
Exemplo n.º 10
0
        public Loop2000C(LoopCollectionBase parent) : base(parent)
        {
            ServiceProviderLevel = new HlCollection(this, nameof(ServiceProviderLevel));
            SegmentCollections.Add(ServiceProviderLevel);

            ProviderNameLoop = new Loop2100CCollection("Loop2100C", nameof(ProviderNameLoop), parent.OwningX12Doc, parent);
            ChildLoopCollections.Add(ProviderNameLoop);
            ProviderOfServiceTraceIdentifierLoop = new Loop2200CCollection("Loop2200C", nameof(ProviderOfServiceTraceIdentifierLoop), parent.OwningX12Doc, parent);
            ChildLoopCollections.Add(ProviderOfServiceTraceIdentifierLoop);
        }
    public Loop2100C(X12Doc owningDoc, LoopEntity prev, LoopCollection parent) : base(owningDoc, prev, parent)
    {
        ProviderName = new Nm1Collection(this, nameof(ProviderName));
        SegmentCollections.Add(ProviderName);

        SubscriberLevelLoop = new Loop2000DCollection("Loop2000D", nameof(SubscriberLevelLoop), OwningDoc, parent, parent);
        ChildLoopCollections.Add(SubscriberLevelLoop);
        SubscriberNameLoop = new Loop2100DCollection("Loop2100D", nameof(SubscriberNameLoop), OwningDoc, parent, parent);
        ChildLoopCollections.Add(SubscriberNameLoop);
    }
    public Loop2100B(X12Doc owningDoc, LoopEntity prev, LoopCollection parent) : base(owningDoc, prev, parent)
    {
        InformationReceiverName = new Nm1Collection(this, nameof(InformationReceiverName));
        SegmentCollections.Add(InformationReceiverName);

        ServiceProviderLevelLoop = new Loop2000CCollection("Loop2000C", nameof(ServiceProviderLevelLoop), OwningDoc, parent, parent);
        ChildLoopCollections.Add(ServiceProviderLevelLoop);
        ProviderNameLoop = new Loop2100CCollection("Loop2100C", nameof(ProviderNameLoop), OwningDoc, parent, parent);
        ChildLoopCollections.Add(ProviderNameLoop);
    }
Exemplo n.º 13
0
public Loop2200C(X12Doc owningDoc, LoopEntity prev, LoopCollection parent):base(owningDoc, prev, parent){
ProviderOfServiceTraceIdentifier = new TrnCollection(this, nameof(ProviderOfServiceTraceIdentifier));
SegmentCollections.Add(ProviderOfServiceTraceIdentifier);
ProviderStatusInformation = new StcCollection(this, nameof(ProviderStatusInformation));
SegmentCollections.Add(ProviderStatusInformation);
 
SubscriberLevelLoop = new Loop2000DCollection("Loop2000D", nameof(SubscriberLevelLoop), OwningDoc, parent, parent);
ChildLoopCollections.Add(SubscriberLevelLoop);
SubscriberNameLoop = new Loop2100DCollection("Loop2100D", nameof(SubscriberNameLoop), OwningDoc, parent, parent);
ChildLoopCollections.Add(SubscriberNameLoop);
}