public override bool Matches(IDeepComparable other)
        {
            var otherT = other as EligibilityResponse;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Request, otherT.Request))
            {
                return(false);
            }
            if (!DeepComparable.Matches(OutcomeElement, otherT.OutcomeElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DispositionElement, otherT.DispositionElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Ruleset, otherT.Ruleset))
            {
                return(false);
            }
            if (!DeepComparable.Matches(OriginalRuleset, otherT.OriginalRuleset))
            {
                return(false);
            }
            if (!DeepComparable.Matches(CreatedElement, otherT.CreatedElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Organization, otherT.Organization))
            {
                return(false);
            }
            if (!DeepComparable.Matches(RequestProvider, otherT.RequestProvider))
            {
                return(false);
            }
            if (!DeepComparable.Matches(RequestOrganization, otherT.RequestOrganization))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 2
0
            public override bool Matches(IDeepComparable other)
            {
                var otherT = other as DosageInstructionComponent;

                if (otherT == null)
                {
                    return(false);
                }

                if (!base.Matches(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(TextElement, otherT.TextElement))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(AdditionalInstructions, otherT.AdditionalInstructions))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Timing, otherT.Timing))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(AsNeeded, otherT.AsNeeded))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Site, otherT.Site))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Route, otherT.Route))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Method, otherT.Method))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Dose, otherT.Dose))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Rate, otherT.Rate))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(MaxDosePerPeriod, otherT.MaxDosePerPeriod))
                {
                    return(false);
                }

                return(true);
            }
Ejemplo n.º 3
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as Organization;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ActiveElement, otherT.ActiveElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Type, otherT.Type))
            {
                return(false);
            }
            if (!DeepComparable.Matches(NameElement, otherT.NameElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(AliasElement, otherT.AliasElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Telecom, otherT.Telecom))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Address, otherT.Address))
            {
                return(false);
            }
            if (!DeepComparable.Matches(PartOf, otherT.PartOf))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Contact, otherT.Contact))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Endpoint, otherT.Endpoint))
            {
                return(false);
            }

            return(true);
        }
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as RelatedPerson;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Patient, otherT.Patient))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Relationship, otherT.Relationship))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Name, otherT.Name))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Telecom, otherT.Telecom))
            {
                return(false);
            }
            if (!DeepComparable.Matches(GenderElement, otherT.GenderElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(BirthDateElement, otherT.BirthDateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Address, otherT.Address))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Photo, otherT.Photo))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Period, otherT.Period))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 5
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as DeviceComponent;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Type, otherT.Type))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(LastSystemChangeElement, otherT.LastSystemChangeElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Source, otherT.Source))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Parent, otherT.Parent))
            {
                return(false);
            }
            if (!DeepComparable.Matches(OperationalStatus, otherT.OperationalStatus))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ParameterGroup, otherT.ParameterGroup))
            {
                return(false);
            }
            if (!DeepComparable.Matches(MeasurementPrincipleElement, otherT.MeasurementPrincipleElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ProductionSpecification, otherT.ProductionSpecification))
            {
                return(false);
            }
            if (!DeepComparable.Matches(LanguageCode, otherT.LanguageCode))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 6
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as DeviceMetric;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Type, otherT.Type))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Unit, otherT.Unit))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Source, otherT.Source))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Parent, otherT.Parent))
            {
                return(false);
            }
            if (!DeepComparable.Matches(OperationalStatusElement, otherT.OperationalStatusElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ColorElement, otherT.ColorElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(CategoryElement, otherT.CategoryElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(MeasurementPeriod, otherT.MeasurementPeriod))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Calibration, otherT.Calibration))
            {
                return(false);
            }

            return(true);
        }
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as RiskAssessment;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DateElement, otherT.DateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Condition, otherT.Condition))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Performer, otherT.Performer))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Method, otherT.Method))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Basis, otherT.Basis))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Prediction, otherT.Prediction))
            {
                return(false);
            }
            if (!DeepComparable.Matches(MitigationElement, otherT.MitigationElement))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 8
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as Practitioner;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ActiveElement, otherT.ActiveElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Name, otherT.Name))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Telecom, otherT.Telecom))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Address, otherT.Address))
            {
                return(false);
            }
            if (!DeepComparable.Matches(GenderElement, otherT.GenderElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(BirthDateElement, otherT.BirthDateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Photo, otherT.Photo))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Qualification, otherT.Qualification))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Communication, otherT.Communication))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 9
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as Specimen;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Type, otherT.Type))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Parent, otherT.Parent))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.Matches(AccessionIdentifier, otherT.AccessionIdentifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ReceivedTimeElement, otherT.ReceivedTimeElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Collection, otherT.Collection))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Treatment, otherT.Treatment))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Container, otherT.Container))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 10
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as Address;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(UseElement, otherT.UseElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(TypeElement, otherT.TypeElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(TextElement, otherT.TextElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(LineElement, otherT.LineElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(CityElement, otherT.CityElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DistrictElement, otherT.DistrictElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(StateElement, otherT.StateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(PostalCodeElement, otherT.PostalCodeElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(CountryElement, otherT.CountryElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Period, otherT.Period))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 11
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as Provenance;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Target, otherT.Target))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Occurred, otherT.Occurred))
            {
                return(false);
            }
            if (!DeepComparable.Matches(RecordedElement, otherT.RecordedElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(PolicyElement, otherT.PolicyElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Location, otherT.Location))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Reason, otherT.Reason))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Activity, otherT.Activity))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Agent, otherT.Agent))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Entity, otherT.Entity))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Signature, otherT.Signature))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 12
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as Person;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Name, otherT.Name))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Telecom, otherT.Telecom))
            {
                return(false);
            }
            if (!DeepComparable.Matches(GenderElement, otherT.GenderElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(BirthDateElement, otherT.BirthDateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Address, otherT.Address))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Photo, otherT.Photo))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ManagingOrganization, otherT.ManagingOrganization))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ActiveElement, otherT.ActiveElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Link, otherT.Link))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 13
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as PaymentNotice;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Ruleset, otherT.Ruleset))
            {
                return(false);
            }
            if (!DeepComparable.Matches(OriginalRuleset, otherT.OriginalRuleset))
            {
                return(false);
            }
            if (!DeepComparable.Matches(CreatedElement, otherT.CreatedElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Target, otherT.Target))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Provider, otherT.Provider))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Organization, otherT.Organization))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Request, otherT.Request))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Response, otherT.Response))
            {
                return(false);
            }
            if (!DeepComparable.Matches(PaymentStatus, otherT.PaymentStatus))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 14
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as SupplyRequest;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Patient, otherT.Patient))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Source, otherT.Source))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DateElement, otherT.DateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Kind, otherT.Kind))
            {
                return(false);
            }
            if (!DeepComparable.Matches(OrderedItem, otherT.OrderedItem))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Supplier, otherT.Supplier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Reason, otherT.Reason))
            {
                return(false);
            }
            if (!DeepComparable.Matches(When, otherT.When))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 15
0
      public override bool Matches(IDeepComparable other)
      {
        var otherT = other as SubstanceComponent;
        if(otherT == null) return false;

        if(!base.Matches(otherT)) return false;
        if( !DeepComparable.Matches(Code, otherT.Code)) return false;
        if( !DeepComparable.Matches(Strength, otherT.Strength)) return false;

        return true;
      }
Ejemplo n.º 16
0
 public override bool Matches(IDeepComparable other)
 {
     var otherT = other as Range;
     if(otherT == null) return false;
     
     if(!base.Matches(otherT)) return false;
     if( !DeepComparable.Matches(Low, otherT.Low)) return false;
     if( !DeepComparable.Matches(High, otherT.High)) return false;
     
     return true;
 }
Ejemplo n.º 17
0
    public override bool Matches(IDeepComparable other)
    {
      var otherT = other as CodeableConcept;
      if(otherT == null) return false;

      if(!base.Matches(otherT)) return false;
      if( !DeepComparable.Matches(Coding, otherT.Coding)) return false;
      if( !DeepComparable.Matches(TextElement, otherT.TextElement)) return false;

      return true;
    }
Ejemplo n.º 18
0
 public override bool Matches(IDeepComparable other)
 {
     var otherT = other as ProductionSpecificationComponent;
     if(otherT == null) return false;
     
     if(!base.Matches(otherT)) return false;
     if( !DeepComparable.Matches(SpecType, otherT.SpecType)) return false;
     if( !DeepComparable.Matches(ComponentId, otherT.ComponentId)) return false;
     if( !DeepComparable.Matches(ProductionSpecElement, otherT.ProductionSpecElement)) return false;
     
     return true;
 }
Ejemplo n.º 19
0
      public override bool Matches(IDeepComparable other)
      {
        var otherT = other as CalibrationComponent;
        if(otherT == null) return false;

        if(!base.Matches(otherT)) return false;
        if( !DeepComparable.Matches(TypeElement, otherT.TypeElement)) return false;
        if( !DeepComparable.Matches(StateElement, otherT.StateElement)) return false;
        if( !DeepComparable.Matches(TimeElement, otherT.TimeElement)) return false;

        return true;
      }
Ejemplo n.º 20
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as MedicinalProductPackaged;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DescriptionElement, otherT.DescriptionElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(LegalStatusOfSupply, otherT.LegalStatusOfSupply))
            {
                return(false);
            }
            if (!DeepComparable.Matches(MarketingStatus, otherT.MarketingStatus))
            {
                return(false);
            }
            if (!DeepComparable.Matches(MarketingAuthorization, otherT.MarketingAuthorization))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Manufacturer, otherT.Manufacturer))
            {
                return(false);
            }
            if (!DeepComparable.Matches(BatchIdentifier, otherT.BatchIdentifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(PackageItem, otherT.PackageItem))
            {
                return(false);
            }

            return(true);
        }
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as QuestionnaireResponse;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Questionnaire, otherT.Questionnaire))
            {
                return(false);
            }
            if (!DeepComparable.Matches(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Author, otherT.Author))
            {
                return(false);
            }
            if (!DeepComparable.Matches(AuthoredElement, otherT.AuthoredElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Source, otherT.Source))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Group, otherT.Group))
            {
                return(false);
            }

            return(true);
        }
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as MedicinalProductIndication;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DiseaseSymptomProcedure, otherT.DiseaseSymptomProcedure))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DiseaseStatus, otherT.DiseaseStatus))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Comorbidity, otherT.Comorbidity))
            {
                return(false);
            }
            if (!DeepComparable.Matches(IntendedEffect, otherT.IntendedEffect))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Duration, otherT.Duration))
            {
                return(false);
            }
            if (!DeepComparable.Matches(OtherTherapy, otherT.OtherTherapy))
            {
                return(false);
            }
            if (!DeepComparable.Matches(UndesirableEffect, otherT.UndesirableEffect))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Population, otherT.Population))
            {
                return(false);
            }

            return(true);
        }
            public override bool Matches(IDeepComparable other)
            {
                var otherT = other as RecommendationComponent;

                if (otherT == null)
                {
                    return(false);
                }

                if (!base.Matches(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(DateElement, otherT.DateElement))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(VaccineCode, otherT.VaccineCode))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(TargetDisease, otherT.TargetDisease))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(DoseNumberElement, otherT.DoseNumberElement))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(ForecastStatus, otherT.ForecastStatus))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(DateCriterion, otherT.DateCriterion))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Protocol, otherT.Protocol))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(SupportingImmunization, otherT.SupportingImmunization))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(SupportingPatientInformation, otherT.SupportingPatientInformation))
                {
                    return(false);
                }

                return(true);
            }
Ejemplo n.º 24
0
            public override bool Matches(IDeepComparable other)
            {
                var otherT = other as AllergyIntoleranceEventComponent;

                if (otherT == null)
                {
                    return(false);
                }

                if (!base.Matches(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Substance, otherT.Substance))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(CertaintyElement, otherT.CertaintyElement))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Manifestation, otherT.Manifestation))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(DescriptionElement, otherT.DescriptionElement))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(OnsetElement, otherT.OnsetElement))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Duration, otherT.Duration))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(SeverityElement, otherT.SeverityElement))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(ExposureRoute, otherT.ExposureRoute))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(CommentElement, otherT.CommentElement))
                {
                    return(false);
                }

                return(true);
            }
Ejemplo n.º 25
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as DeviceUseStatement;

            if (otherT == null)
            {
                return(false);
            }

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(BodySite, otherT.BodySite))
            {
                return(false);
            }
            if (!DeepComparable.Matches(WhenUsed, otherT.WhenUsed))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Device, otherT.Device))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Indication, otherT.Indication))
            {
                return(false);
            }
            if (!DeepComparable.Matches(NotesElement, otherT.NotesElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(RecordedOnElement, otherT.RecordedOnElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Timing, otherT.Timing))
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 26
0
    public override bool Matches(IDeepComparable other)
    {
      var otherT = other as Population;
      if(otherT == null) return false;

      if(!base.Matches(otherT)) return false;
      if( !DeepComparable.Matches(Age, otherT.Age)) return false;
      if( !DeepComparable.Matches(Gender, otherT.Gender)) return false;
      if( !DeepComparable.Matches(Race, otherT.Race)) return false;
      if( !DeepComparable.Matches(PhysiologicalCondition, otherT.PhysiologicalCondition)) return false;

      return true;
    }
Ejemplo n.º 27
0
 public override bool Matches(IDeepComparable other)
 {
     var otherT = other as ParticipantComponent;
     if(otherT == null) return false;
     
     if(!base.Matches(otherT)) return false;
     if( !DeepComparable.Matches(Type, otherT.Type)) return false;
     if( !DeepComparable.Matches(Actor, otherT.Actor)) return false;
     if( !DeepComparable.Matches(RequiredElement, otherT.RequiredElement)) return false;
     if( !DeepComparable.Matches(StatusElement, otherT.StatusElement)) return false;
     
     return true;
 }
Ejemplo n.º 28
0
      public override bool Matches(IDeepComparable other)
      {
        var otherT = other as SpecifiedSubstanceComponent;
        if(otherT == null) return false;

        if(!base.Matches(otherT)) return false;
        if( !DeepComparable.Matches(Code, otherT.Code)) return false;
        if( !DeepComparable.Matches(Group, otherT.Group)) return false;
        if( !DeepComparable.Matches(Confidentiality, otherT.Confidentiality)) return false;
        if( !DeepComparable.Matches(Strength, otherT.Strength)) return false;

        return true;
      }
      public override bool Matches(IDeepComparable other)
      {
        var otherT = other as ConditionComponent;
        if(otherT == null) return false;

        if(!base.Matches(otherT)) return false;
        if( !DeepComparable.Matches(Code, otherT.Code)) return false;
        if( !DeepComparable.Matches(Outcome, otherT.Outcome)) return false;
        if( !DeepComparable.Matches(ContributedToDeathElement, otherT.ContributedToDeathElement)) return false;
        if( !DeepComparable.Matches(Onset, otherT.Onset)) return false;
        if( !DeepComparable.Matches(Note, otherT.Note)) return false;

        return true;
      }
Ejemplo n.º 30
0
      public override bool Matches(IDeepComparable other)
      {
        var otherT = other as ReferenceStrengthComponent;
        if(otherT == null) return false;

        if(!base.Matches(otherT)) return false;
        if( !DeepComparable.Matches(Substance, otherT.Substance)) return false;
        if( !DeepComparable.Matches(Strength, otherT.Strength)) return false;
        if( !DeepComparable.Matches(StrengthHighLimit, otherT.StrengthHighLimit)) return false;
        if( !DeepComparable.Matches(MeasurementPointElement, otherT.MeasurementPointElement)) return false;
        if( !DeepComparable.Matches(Country, otherT.Country)) return false;

        return true;
      }