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

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

                if (!base.Matches(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(SequenceLinkIdElement, otherT.SequenceLinkIdElement))
                {
                    return(false);
                }

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

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

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Code, otherT.Code))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Author, otherT.Author))
            {
                return(false);
            }
            if (!DeepComparable.Matches(CreatedElement, otherT.CreatedElement))
            {
                return(false);
            }

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

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

                if (!base.Matches(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Code, otherT.Code))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Specimen, otherT.Specimen))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(BodySite, otherT.BodySite))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(StatusElement, otherT.StatusElement))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Event, otherT.Event))
                {
                    return(false);
                }

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

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

                if (!base.Matches(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(NameElement, otherT.NameElement))
                {
                    return(false);
                }
                if (!DeepComparable.Matches(Telecom, otherT.Telecom))
                {
                    return(false);
                }

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

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

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(BodySite, otherT.BodySite))
            {
                return(false);
            }
            if (!DeepComparable.Matches(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Device, otherT.Device))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Encounter, otherT.Encounter))
            {
                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(PrnReason, otherT.PrnReason))
            {
                return(false);
            }
            if (!DeepComparable.Matches(OrderedOnElement, otherT.OrderedOnElement))
            {
                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);
            }
            if (!DeepComparable.Matches(PriorityElement, otherT.PriorityElement))
            {
                return(false);
            }

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

            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(NameElement, otherT.NameElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DescriptionElement, otherT.DescriptionElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ModeElement, otherT.ModeElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Type, otherT.Type))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Telecom, otherT.Telecom))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Address, otherT.Address))
            {
                return(false);
            }
            if (!DeepComparable.Matches(PhysicalType, otherT.PhysicalType))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Position, otherT.Position))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ManagingOrganization, otherT.ManagingOrganization))
            {
                return(false);
            }
            if (!DeepComparable.Matches(PartOf, otherT.PartOf))
            {
                return(false);
            }

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

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

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Type, otherT.Type))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Note, otherT.Note))
            {
                return(false);
            }
            if (!DeepComparable.Matches(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ManufacturerElement, otherT.ManufacturerElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ModelElement, otherT.ModelElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(VersionElement, otherT.VersionElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ManufactureDateElement, otherT.ManufactureDateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ExpiryElement, otherT.ExpiryElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(UdiElement, otherT.UdiElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(LotNumberElement, otherT.LotNumberElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Owner, otherT.Owner))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Location, otherT.Location))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Patient, otherT.Patient))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Contact, otherT.Contact))
            {
                return(false);
            }
            if (!DeepComparable.Matches(UrlElement, otherT.UrlElement))
            {
                return(false);
            }

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

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

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Orderer, otherT.Orderer))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Reason, otherT.Reason))
            {
                return(false);
            }
            if (!DeepComparable.Matches(SupportingInformation, otherT.SupportingInformation))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Specimen, otherT.Specimen))
            {
                return(false);
            }
            if (!DeepComparable.Matches(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(PriorityElement, otherT.PriorityElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Event, otherT.Event))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Item, otherT.Item))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Note, otherT.Note))
            {
                return(false);
            }

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

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

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ActionElement, otherT.ActionElement))
            {
                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(NullifyElement, otherT.NullifyElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ReferenceElement, otherT.ReferenceElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Item, otherT.Item))
            {
                return(false);
            }
            if (!DeepComparable.Matches(IncludeElement, otherT.IncludeElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ExcludeElement, otherT.ExcludeElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Period, otherT.Period))
            {
                return(false);
            }

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

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

            if (!base.Matches(otherT))
            {
                return(false);
            }
            if (!DeepComparable.Matches(UrlElement, otherT.UrlElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(NameElement, otherT.NameElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ExperimentalElement, otherT.ExperimentalElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(PublisherElement, otherT.PublisherElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Contact, otherT.Contact))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DateElement, otherT.DateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(RequirementsElement, otherT.RequirementsElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(CodeElement, otherT.CodeElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(BaseElement, otherT.BaseElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(TypeElement, otherT.TypeElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DescriptionElement, otherT.DescriptionElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(XpathElement, otherT.XpathElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(XpathUsageElement, otherT.XpathUsageElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(TargetElement, otherT.TargetElement))
            {
                return(false);
            }

            return(true);
        }