Exemplo n.º 1
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as EventComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Description, otherT.Description))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(DateTimeElement, otherT.DateTimeElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Actor, otherT.Actor))
                {
                    return(false);
                }

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

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(LinkIdElement, otherT.LinkIdElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(TextElement, otherT.TextElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Answer, otherT.Answer))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 3
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as MessageHeader;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Event, otherT.Event))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Destination, otherT.Destination))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Sender, otherT.Sender))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Enterer, otherT.Enterer))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Author, otherT.Author))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Source, otherT.Source))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Responsible, otherT.Responsible))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Reason, otherT.Reason))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Response, otherT.Response))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Focus, otherT.Focus))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DefinitionElement, otherT.DefinitionElement))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 4
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as ClassComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Type, otherT.Type))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(ValueElement, otherT.ValueElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(NameElement, otherT.NameElement))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 5
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as Contributor;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(TypeElement, otherT.TypeElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(NameElement, otherT.NameElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Contact, otherT.Contact))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 6
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as TreatmentComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(DescriptionElement, otherT.DescriptionElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Procedure, otherT.Procedure))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Additive, otherT.Additive))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 7
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as Endpoint;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ConnectionType, otherT.ConnectionType))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(NameElement, otherT.NameElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ManagingOrganization, otherT.ManagingOrganization))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Contact, otherT.Contact))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Period, otherT.Period))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PayloadType, otherT.PayloadType))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PayloadMimeTypeElement, otherT.PayloadMimeTypeElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(AddressElement, otherT.AddressElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(HeaderElement, otherT.HeaderElement))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 8
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as CareTeamComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Role, otherT.Role))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Period, otherT.Period))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Member, otherT.Member))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 9
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as EpisodeOfCare;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusHistory, otherT.StatusHistory))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Type, otherT.Type))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Condition, otherT.Condition))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Patient, otherT.Patient))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ManagingOrganization, otherT.ManagingOrganization))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Period, otherT.Period))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReferralRequest, otherT.ReferralRequest))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(CareManager, otherT.CareManager))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(CareTeam, otherT.CareTeam))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 10
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as ProductionSpecificationComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(SpecType, otherT.SpecType))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(ComponentId, otherT.ComponentId))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(ProductionSpecElement, otherT.ProductionSpecElement))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 11
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as AgentComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Role, otherT.Role))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Actor, otherT.Actor))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(UserId, otherT.UserId))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(RelatedAgent, otherT.RelatedAgent))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 12
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as SugarComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(NameElement, otherT.NameElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(ResidueSiteElement, otherT.ResidueSiteElement))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 13
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as ProtocolComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(DoseSequenceElement, otherT.DoseSequenceElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(DescriptionElement, otherT.DescriptionElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Authority, otherT.Authority))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(SeriesElement, otherT.SeriesElement))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 14
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as ImmunizationRecommendation;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Patient, otherT.Patient))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Recommendation, otherT.Recommendation))
            {
                return(false);
            }

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

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Form, otherT.Form))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Ingredient, otherT.Ingredient))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Batch, otherT.Batch))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 16
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as Annotation;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Author, otherT.Author))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(TimeElement, otherT.TimeElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Text, otherT.Text))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 17
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as AnimalComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Species, otherT.Species))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Breed, otherT.Breed))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(GenderStatus, otherT.GenderStatus))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 18
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as ContactComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Purpose, otherT.Purpose))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Name, otherT.Name))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Telecom, otherT.Telecom))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Address, otherT.Address))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 19
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as PositionComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(LongitudeElement, otherT.LongitudeElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(LatitudeElement, otherT.LatitudeElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(AltitudeElement, otherT.AltitudeElement))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 20
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as ResponseComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(IdentifierElement, otherT.IdentifierElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(CodeElement, otherT.CodeElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Details, otherT.Details))
                {
                    return(false);
                }

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

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(TypeElement, otherT.TypeElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(StateElement, otherT.StateElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(TimeElement, otherT.TimeElement))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 22
0
    public override bool IsExactly(IDeepComparable other)
    {
      var otherT = other as AllergyIntolerance;
      if(otherT == null) return false;

      if(!base.IsExactly(otherT)) return false;
      if( !DeepComparable.IsExactly(Identifier, otherT.Identifier)) return false;
      if( !DeepComparable.IsExactly(ClinicalStatus, otherT.ClinicalStatus)) return false;
      if( !DeepComparable.IsExactly(VerificationStatus, otherT.VerificationStatus)) return false;
      if( !DeepComparable.IsExactly(TypeElement, otherT.TypeElement)) return false;
      if( !DeepComparable.IsExactly(CategoryElement, otherT.CategoryElement)) return false;
      if( !DeepComparable.IsExactly(CriticalityElement, otherT.CriticalityElement)) return false;
      if( !DeepComparable.IsExactly(Code, otherT.Code)) return false;
      if( !DeepComparable.IsExactly(Patient, otherT.Patient)) return false;
      if( !DeepComparable.IsExactly(Encounter, otherT.Encounter)) return false;
      if( !DeepComparable.IsExactly(Onset, otherT.Onset)) return false;
      if( !DeepComparable.IsExactly(RecordedDateElement, otherT.RecordedDateElement)) return false;
      if( !DeepComparable.IsExactly(Recorder, otherT.Recorder)) return false;
      if( !DeepComparable.IsExactly(Asserter, otherT.Asserter)) return false;
      if( !DeepComparable.IsExactly(LastOccurrenceElement, otherT.LastOccurrenceElement)) return false;
      if( !DeepComparable.IsExactly(Note, otherT.Note)) return false;
      if( !DeepComparable.IsExactly(Reaction, otherT.Reaction)) return false;

      return true;
    }
Exemplo n.º 23
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as CostToBeneficiaryComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Type, otherT.Type))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Value, otherT.Value))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Exception, otherT.Exception))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 24
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as InstanceComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(ExpiryElement, otherT.ExpiryElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Quantity, otherT.Quantity))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 25
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as ConditionComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Code, otherT.Code))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Outcome, otherT.Outcome))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Onset, otherT.Onset))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Note, otherT.Note))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 26
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as ReactionComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(DateElement, otherT.DateElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Detail, otherT.Detail))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(ReportedElement, otherT.ReportedElement))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 27
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as Timing;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(EventElement, otherT.EventElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Repeat, otherT.Repeat))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Code, otherT.Code))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 28
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as DomainResource;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Text, otherT.Text))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Contained, otherT.Contained))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Extension, otherT.Extension))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ModifierExtension, otherT.ModifierExtension))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 29
0
            public override bool IsExactly(IDeepComparable other)
            {
                var otherT = other as MessageDestinationComponent;

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(NameElement, otherT.NameElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Target, otherT.Target))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(EndpointElement, otherT.EndpointElement))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Receiver, otherT.Receiver))
                {
                    return(false);
                }

                return(true);
            }
Exemplo n.º 30
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as Resource;

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

            if (!DeepComparable.IsExactly(IdElement, otherT.IdElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Meta, otherT.Meta))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ImplicitRulesElement, otherT.ImplicitRulesElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(LanguageElement, otherT.LanguageElement))
            {
                return(false);
            }

            return(true);
        }