Esempio n. 1
0
 public override bool Matches(IDeepComparable other)
 {
     var otherT = other as BackboneElement;
     if(otherT == null) return false;
     
     if(!base.Matches(otherT)) return false;
     if( !DeepComparable.Matches(ModifierExtension, otherT.ModifierExtension)) return false;
     
     return true;
 }
Esempio n. 2
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as Coverage;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Issuer, otherT.Issuer))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Bin, otherT.Bin))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Period, otherT.Period))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Type, otherT.Type))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(SubscriberId, otherT.SubscriberId))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(GroupElement, otherT.GroupElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PlanElement, otherT.PlanElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(SubPlanElement, otherT.SubPlanElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DependentElement, otherT.DependentElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(SequenceElement, otherT.SequenceElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Subscriber, otherT.Subscriber))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Network, otherT.Network))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Contract, otherT.Contract))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 3
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as Composition;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Identifier, otherT.Identifier)) return false;
     if( !DeepComparable.IsExactly(DateElement, otherT.DateElement)) return false;
     if( !DeepComparable.IsExactly(Type, otherT.Type)) return false;
     if( !DeepComparable.IsExactly(Class, otherT.Class)) return false;
     if( !DeepComparable.IsExactly(TitleElement, otherT.TitleElement)) return false;
     if( !DeepComparable.IsExactly(StatusElement, otherT.StatusElement)) return false;
     if( !DeepComparable.IsExactly(ConfidentialityElement, otherT.ConfidentialityElement)) return false;
     if( !DeepComparable.IsExactly(Subject, otherT.Subject)) return false;
     if( !DeepComparable.IsExactly(Author, otherT.Author)) return false;
     if( !DeepComparable.IsExactly(Attester, otherT.Attester)) return false;
     if( !DeepComparable.IsExactly(Custodian, otherT.Custodian)) return false;
     if( !DeepComparable.IsExactly(Event, otherT.Event)) return false;
     if( !DeepComparable.IsExactly(Encounter, otherT.Encounter)) return false;
     if( !DeepComparable.IsExactly(Section, otherT.Section)) return false;
     
     return true;
 }
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as ImagingObjectSelection;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(UidElement, otherT.UidElement)) return false;
     if( !DeepComparable.IsExactly(Patient, otherT.Patient)) return false;
     if( !DeepComparable.IsExactly(Title, otherT.Title)) return false;
     if( !DeepComparable.IsExactly(DescriptionElement, otherT.DescriptionElement)) return false;
     if( !DeepComparable.IsExactly(Author, otherT.Author)) return false;
     if( !DeepComparable.IsExactly(AuthoringTimeElement, otherT.AuthoringTimeElement)) return false;
     if( !DeepComparable.IsExactly(Study, otherT.Study)) return false;
     
     return true;
 }
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as StudyComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(UidElement, otherT.UidElement)) return false;
     if( !DeepComparable.IsExactly(UrlElement, otherT.UrlElement)) return false;
     if( !DeepComparable.IsExactly(ImagingStudy, otherT.ImagingStudy)) return false;
     if( !DeepComparable.IsExactly(Series, otherT.Series)) return false;
     
     return true;
 }
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as OperationOutcomeIssueComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(SeverityElement, otherT.SeverityElement)) return false;
     if( !DeepComparable.IsExactly(Code, otherT.Code)) return false;
     if( !DeepComparable.IsExactly(DetailsElement, otherT.DetailsElement)) return false;
     if( !DeepComparable.IsExactly(LocationElement, otherT.LocationElement)) return false;
     
     return true;
 }
Esempio n. 7
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as ProcessResponseNotesComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Type, otherT.Type)) return false;
     if( !DeepComparable.IsExactly(TextElement, otherT.TextElement)) return false;
     
     return true;
 }
Esempio n. 8
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as Narrative;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(StatusElement, otherT.StatusElement)) return false;
     if( Div != otherT.Div ) return false;
     
     return true;
 }
Esempio n. 9
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as MedicationAdministration;

            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(Patient, otherT.Patient))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Practitioner, otherT.Practitioner))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Prescription, otherT.Prescription))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(WasNotGivenElement, otherT.WasNotGivenElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReasonNotGiven, otherT.ReasonNotGiven))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReasonGiven, otherT.ReasonGiven))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(EffectiveTime, otherT.EffectiveTime))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Medication, otherT.Medication))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Device, otherT.Device))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(NoteElement, otherT.NoteElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Dosage, otherT.Dosage))
            {
                return(false);
            }

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

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

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

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(InstantiatesCanonicalElement, otherT.InstantiatesCanonicalElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(InstantiatesUriElement, otherT.InstantiatesUriElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(BasedOn, otherT.BasedOn))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PartOf, otherT.PartOf))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(InResponseTo, otherT.InResponseTo))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusReason, otherT.StatusReason))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Category, otherT.Category))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PriorityElement, otherT.PriorityElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Medium, otherT.Medium))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Topic, otherT.Topic))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(About, otherT.About))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(SentElement, otherT.SentElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReceivedElement, otherT.ReceivedElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Recipient, otherT.Recipient))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Sender, otherT.Sender))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Reason, otherT.Reason))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Payload, otherT.Payload))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Note, otherT.Note))
            {
                return(false);
            }

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

            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(Patient, otherT.Patient))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DateElement, otherT.DateElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Authority, otherT.Authority))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(TargetDisease, otherT.TargetDisease))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ImmunizationEvent, otherT.ImmunizationEvent))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DoseStatus, otherT.DoseStatus))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DoseStatusReason, otherT.DoseStatusReason))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DescriptionElement, otherT.DescriptionElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(SeriesElement, otherT.SeriesElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DoseNumber, otherT.DoseNumber))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(SeriesDoses, otherT.SeriesDoses))
            {
                return(false);
            }

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

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

                if (!base.IsExactly(otherT))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Type, otherT.Type))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Quantity, otherT.Quantity))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Material, otherT.Material))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(AlternateMaterial, otherT.AlternateMaterial))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Device, otherT.Device))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(ManufacturedItem, otherT.ManufacturedItem))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(PackageItem, otherT.PackageItem))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(PhysicalCharacteristics, otherT.PhysicalCharacteristics))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(OtherCharacteristics, otherT.OtherCharacteristics))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(ShelfLifeStorage, otherT.ShelfLifeStorage))
                {
                    return(false);
                }
                if (!DeepComparable.IsExactly(Manufacturer, otherT.Manufacturer))
                {
                    return(false);
                }

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

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ActiveElement, otherT.ActiveElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Name, otherT.Name))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Telecom, otherT.Telecom))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(GenderElement, otherT.GenderElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(BirthDateElement, otherT.BirthDateElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Deceased, otherT.Deceased))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Address, otherT.Address))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(MaritalStatus, otherT.MaritalStatus))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(MultipleBirth, otherT.MultipleBirth))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Photo, otherT.Photo))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Contact, otherT.Contact))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Animal, otherT.Animal))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Communication, otherT.Communication))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(CareProvider, otherT.CareProvider))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ManagingOrganization, otherT.ManagingOrganization))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Link, otherT.Link))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 15
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as ProcessResponse;

            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(CreatedElement, otherT.CreatedElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Organization, otherT.Organization))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Request, otherT.Request))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Outcome, otherT.Outcome))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DispositionElement, otherT.DispositionElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(RequestProvider, otherT.RequestProvider))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(RequestOrganization, otherT.RequestOrganization))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Form, otherT.Form))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ProcessNote, otherT.ProcessNote))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Error, otherT.Error))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(CommunicationRequest, otherT.CommunicationRequest))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 16
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as FindingComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Item, otherT.Item)) return false;
     if( !DeepComparable.IsExactly(CauseElement, otherT.CauseElement)) return false;
     
     return true;
 }
Esempio n. 17
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as ClinicalImpression;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Patient, otherT.Patient)) return false;
     if( !DeepComparable.IsExactly(Assessor, otherT.Assessor)) return false;
     if( !DeepComparable.IsExactly(StatusElement, otherT.StatusElement)) return false;
     if( !DeepComparable.IsExactly(DateElement, otherT.DateElement)) return false;
     if( !DeepComparable.IsExactly(DescriptionElement, otherT.DescriptionElement)) return false;
     if( !DeepComparable.IsExactly(Previous, otherT.Previous)) return false;
     if( !DeepComparable.IsExactly(Problem, otherT.Problem)) return false;
     if( !DeepComparable.IsExactly(Trigger, otherT.Trigger)) return false;
     if( !DeepComparable.IsExactly(Investigations, otherT.Investigations)) return false;
     if( !DeepComparable.IsExactly(ProtocolElement, otherT.ProtocolElement)) return false;
     if( !DeepComparable.IsExactly(SummaryElement, otherT.SummaryElement)) return false;
     if( !DeepComparable.IsExactly(Finding, otherT.Finding)) return false;
     if( !DeepComparable.IsExactly(Resolved, otherT.Resolved)) return false;
     if( !DeepComparable.IsExactly(RuledOut, otherT.RuledOut)) return false;
     if( !DeepComparable.IsExactly(PrognosisElement, otherT.PrognosisElement)) return false;
     if( !DeepComparable.IsExactly(Plan, otherT.Plan)) return false;
     if( !DeepComparable.IsExactly(Action, otherT.Action)) return false;
     
     return true;
 }
Esempio n. 18
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as Condition;

            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(Category, otherT.Category))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Severity, otherT.Severity))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Code, otherT.Code))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(BodySite, otherT.BodySite))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Onset, otherT.Onset))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Abatement, otherT.Abatement))
            {
                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(Stage, otherT.Stage))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Evidence, otherT.Evidence))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Note, otherT.Note))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 19
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as ItemsComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(SequenceLinkIdElement, otherT.SequenceLinkIdElement)) return false;
     
     return true;
 }
Esempio n. 20
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as ProcedureRequest;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Code, otherT.Code))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(BodySite, otherT.BodySite))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Reason, otherT.Reason))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Scheduled, otherT.Scheduled))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Performer, otherT.Performer))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Notes, otherT.Notes))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(AsNeeded, otherT.AsNeeded))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(OrderedOnElement, otherT.OrderedOnElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Orderer, otherT.Orderer))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PriorityElement, otherT.PriorityElement))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 21
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as PayloadComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Content, otherT.Content)) return false;
     
     return true;
 }
Esempio n. 22
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as Communication;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Definition, otherT.Definition))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(BasedOn, otherT.BasedOn))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PartOf, otherT.PartOf))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(NotDoneElement, otherT.NotDoneElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(NotDoneReason, otherT.NotDoneReason))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Category, otherT.Category))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Medium, otherT.Medium))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Recipient, otherT.Recipient))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Topic, otherT.Topic))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Context, otherT.Context))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(SentElement, otherT.SentElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReceivedElement, otherT.ReceivedElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Sender, otherT.Sender))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReasonCode, otherT.ReasonCode))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReasonReference, otherT.ReasonReference))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Payload, otherT.Payload))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Note, otherT.Note))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 23
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as DispenseComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Product, otherT.Product)) return false;
     if( !DeepComparable.IsExactly(EyeElement, otherT.EyeElement)) return false;
     if( !DeepComparable.IsExactly(SphereElement, otherT.SphereElement)) return false;
     if( !DeepComparable.IsExactly(CylinderElement, otherT.CylinderElement)) return false;
     if( !DeepComparable.IsExactly(AxisElement, otherT.AxisElement)) return false;
     if( !DeepComparable.IsExactly(PrismElement, otherT.PrismElement)) return false;
     if( !DeepComparable.IsExactly(BaseElement, otherT.BaseElement)) return false;
     if( !DeepComparable.IsExactly(AddElement, otherT.AddElement)) return false;
     if( !DeepComparable.IsExactly(PowerElement, otherT.PowerElement)) return false;
     if( !DeepComparable.IsExactly(BackCurveElement, otherT.BackCurveElement)) return false;
     if( !DeepComparable.IsExactly(DiameterElement, otherT.DiameterElement)) return false;
     if( !DeepComparable.IsExactly(Duration, otherT.Duration)) return false;
     if( !DeepComparable.IsExactly(ColorElement, otherT.ColorElement)) return false;
     if( !DeepComparable.IsExactly(BrandElement, otherT.BrandElement)) return false;
     if( !DeepComparable.IsExactly(NotesElement, otherT.NotesElement)) return false;
     
     return true;
 }
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as EvidenceFocus;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(UrlElement, otherT.UrlElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(VersionElement, otherT.VersionElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(NameElement, otherT.NameElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(UseContext, otherT.UseContext))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DateElement, otherT.DateElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Note, otherT.Note))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Copyright, otherT.Copyright))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(CiteAs, otherT.CiteAs))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Characteristic, otherT.Characteristic))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(RelatedArtifact, otherT.RelatedArtifact))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 25
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(SopClassElement, otherT.SopClassElement)) return false;
     if( !DeepComparable.IsExactly(UidElement, otherT.UidElement)) return false;
     if( !DeepComparable.IsExactly(UrlElement, otherT.UrlElement)) return false;
     if( !DeepComparable.IsExactly(Frames, otherT.Frames)) return false;
     
     return true;
 }
Esempio n. 26
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as DetectedIssue;

            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(Code, otherT.Code))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(SeverityElement, otherT.SeverityElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Patient, otherT.Patient))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identified, otherT.Identified))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Author, otherT.Author))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Implicated, otherT.Implicated))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Evidence, otherT.Evidence))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DetailElement, otherT.DetailElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReferenceElement, otherT.ReferenceElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Mitigation, otherT.Mitigation))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 27
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as CompositionAttesterComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(ModeElement, otherT.ModeElement)) return false;
     if( !DeepComparable.IsExactly(TimeElement, otherT.TimeElement)) return false;
     if( !DeepComparable.IsExactly(Party, otherT.Party)) return false;
     
     return true;
 }
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as ClinicalImpression;

            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(Code, otherT.Code))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DescriptionElement, otherT.DescriptionElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Context, otherT.Context))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Effective, otherT.Effective))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DateElement, otherT.DateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Assessor, otherT.Assessor))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Previous, otherT.Previous))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Problem, otherT.Problem))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Investigation, otherT.Investigation))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ProtocolElement, otherT.ProtocolElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(SummaryElement, otherT.SummaryElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Finding, otherT.Finding))
            {
                return(false);
            }
            if (!DeepComparable.Matches(PrognosisCodeableConcept, otherT.PrognosisCodeableConcept))
            {
                return(false);
            }
            if (!DeepComparable.Matches(PrognosisReference, otherT.PrognosisReference))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Action, otherT.Action))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Note, otherT.Note))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 29
0
 public override bool Matches(IDeepComparable other)
 {
     var otherT = other as Element;
     if(otherT == null) return false;
     
     if( ElementId != otherT.ElementId ) return false;
     if( !DeepComparable.Matches(Extension, otherT.Extension)) return false;
     
     return true;
 }
Esempio n. 30
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as Observation;

            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(Category, otherT.Category))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Code, otherT.Code))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Effective, otherT.Effective))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(IssuedElement, otherT.IssuedElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Performer, otherT.Performer))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Value, otherT.Value))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DataAbsentReason, otherT.DataAbsentReason))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Interpretation, otherT.Interpretation))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(CommentsElement, otherT.CommentsElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(BodySite, otherT.BodySite))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Method, otherT.Method))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Specimen, otherT.Specimen))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Device, otherT.Device))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReferenceRange, otherT.ReferenceRange))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Related, otherT.Related))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Component, otherT.Component))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 31
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as InvestigationsComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Code, otherT.Code)) return false;
     if( !DeepComparable.IsExactly(Item, otherT.Item)) return false;
     
     return true;
 }
Esempio n. 32
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as CommunicationRequest;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Category, otherT.Category))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Sender, otherT.Sender))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Recipient, otherT.Recipient))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Payload, otherT.Payload))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Medium, otherT.Medium))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Requester, otherT.Requester))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Scheduled, otherT.Scheduled))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Reason, otherT.Reason))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(RequestedOnElement, otherT.RequestedOnElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Priority, otherT.Priority))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 33
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as RuledOutComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Item, otherT.Item)) return false;
     if( !DeepComparable.IsExactly(ReasonElement, otherT.ReasonElement)) return false;
     
     return true;
 }
Esempio n. 34
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as SearchParameter;

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

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

            return(true);
        }
Esempio n. 35
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as HumanName;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(UseElement, otherT.UseElement)) return false;
     if( !DeepComparable.IsExactly(TextElement, otherT.TextElement)) return false;
     if( !DeepComparable.IsExactly(FamilyElement, otherT.FamilyElement)) return false;
     if( !DeepComparable.IsExactly(GivenElement, otherT.GivenElement)) return false;
     if( !DeepComparable.IsExactly(PrefixElement, otherT.PrefixElement)) return false;
     if( !DeepComparable.IsExactly(SuffixElement, otherT.SuffixElement)) return false;
     if( !DeepComparable.IsExactly(Period, otherT.Period)) return false;
     
     return true;
 }
        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(Diagnosis, otherT.Diagnosis))
            {
                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(Team, otherT.Team))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Account, otherT.Account))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 37
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as Identifier;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(UseElement, otherT.UseElement)) return false;
     if( !DeepComparable.IsExactly(Type, otherT.Type)) return false;
     if( !DeepComparable.IsExactly(SystemElement, otherT.SystemElement)) return false;
     if( !DeepComparable.IsExactly(ValueElement, otherT.ValueElement)) return false;
     if( !DeepComparable.IsExactly(Period, otherT.Period)) return false;
     if( !DeepComparable.IsExactly(Assigner, otherT.Assigner)) return false;
     
     return true;
 }
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as ClinicalImpression;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Patient, otherT.Patient))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Assessor, otherT.Assessor))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DateElement, otherT.DateElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DescriptionElement, otherT.DescriptionElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Previous, otherT.Previous))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Problem, otherT.Problem))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Trigger, otherT.Trigger))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Investigations, otherT.Investigations))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ProtocolElement, otherT.ProtocolElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(SummaryElement, otherT.SummaryElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Finding, otherT.Finding))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Resolved, otherT.Resolved))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(RuledOut, otherT.RuledOut))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PrognosisElement, otherT.PrognosisElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Plan, otherT.Plan))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Action, otherT.Action))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 39
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as ProcessRequest;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(ActionElement, otherT.ActionElement)) return false;
     if( !DeepComparable.IsExactly(Identifier, otherT.Identifier)) return false;
     if( !DeepComparable.IsExactly(Ruleset, otherT.Ruleset)) return false;
     if( !DeepComparable.IsExactly(OriginalRuleset, otherT.OriginalRuleset)) return false;
     if( !DeepComparable.IsExactly(CreatedElement, otherT.CreatedElement)) return false;
     if( !DeepComparable.IsExactly(Target, otherT.Target)) return false;
     if( !DeepComparable.IsExactly(Provider, otherT.Provider)) return false;
     if( !DeepComparable.IsExactly(Organization, otherT.Organization)) return false;
     if( !DeepComparable.IsExactly(Request, otherT.Request)) return false;
     if( !DeepComparable.IsExactly(Response, otherT.Response)) return false;
     if( !DeepComparable.IsExactly(NullifyElement, otherT.NullifyElement)) return false;
     if( !DeepComparable.IsExactly(ReferenceElement, otherT.ReferenceElement)) return false;
     if( !DeepComparable.IsExactly(Item, otherT.Item)) return false;
     if( !DeepComparable.IsExactly(IncludeElement, otherT.IncludeElement)) return false;
     if( !DeepComparable.IsExactly(ExcludeElement, otherT.ExcludeElement)) return false;
     if( !DeepComparable.IsExactly(Period, otherT.Period)) return false;
     
     return true;
 }
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as CompartmentDefinition;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(UrlElement, otherT.UrlElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(VersionElement, otherT.VersionElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(NameElement, otherT.NameElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ExperimentalElement, otherT.ExperimentalElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DateElement, otherT.DateElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PublisherElement, otherT.PublisherElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Contact, otherT.Contact))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Description, otherT.Description))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(UseContext, otherT.UseContext))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Purpose, otherT.Purpose))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(CodeElement, otherT.CodeElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(SearchElement, otherT.SearchElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Resource, otherT.Resource))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 41
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as ProcessResponse;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Identifier, otherT.Identifier)) return false;
     if( !DeepComparable.IsExactly(Request, otherT.Request)) return false;
     if( !DeepComparable.IsExactly(Outcome, otherT.Outcome)) return false;
     if( !DeepComparable.IsExactly(DispositionElement, otherT.DispositionElement)) return false;
     if( !DeepComparable.IsExactly(Ruleset, otherT.Ruleset)) return false;
     if( !DeepComparable.IsExactly(OriginalRuleset, otherT.OriginalRuleset)) return false;
     if( !DeepComparable.IsExactly(CreatedElement, otherT.CreatedElement)) return false;
     if( !DeepComparable.IsExactly(Organization, otherT.Organization)) return false;
     if( !DeepComparable.IsExactly(RequestProvider, otherT.RequestProvider)) return false;
     if( !DeepComparable.IsExactly(RequestOrganization, otherT.RequestOrganization)) return false;
     if( !DeepComparable.IsExactly(Form, otherT.Form)) return false;
     if( !DeepComparable.IsExactly(Notes, otherT.Notes)) return false;
     if( !DeepComparable.IsExactly(Error, otherT.Error)) return false;
     
     return true;
 }
Esempio n. 42
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as DiagnosticOrder;

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

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

            return(true);
        }
Esempio n. 43
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as Communication;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Identifier, otherT.Identifier)) return false;
     if( !DeepComparable.IsExactly(Category, otherT.Category)) return false;
     if( !DeepComparable.IsExactly(Sender, otherT.Sender)) return false;
     if( !DeepComparable.IsExactly(Recipient, otherT.Recipient)) return false;
     if( !DeepComparable.IsExactly(Payload, otherT.Payload)) return false;
     if( !DeepComparable.IsExactly(Medium, otherT.Medium)) return false;
     if( !DeepComparable.IsExactly(StatusElement, otherT.StatusElement)) return false;
     if( !DeepComparable.IsExactly(Encounter, otherT.Encounter)) return false;
     if( !DeepComparable.IsExactly(SentElement, otherT.SentElement)) return false;
     if( !DeepComparable.IsExactly(ReceivedElement, otherT.ReceivedElement)) return false;
     if( !DeepComparable.IsExactly(Reason, otherT.Reason)) return false;
     if( !DeepComparable.IsExactly(Subject, otherT.Subject)) return false;
     if( !DeepComparable.IsExactly(RequestDetail, otherT.RequestDetail)) return false;
     
     return true;
 }
Esempio n. 44
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as PaymentReconciliation;

            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(Period, otherT.Period))
            {
                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);
            }
            if (!DeepComparable.Matches(Detail, otherT.Detail))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Form, otherT.Form))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Total, otherT.Total))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Note, otherT.Note))
            {
                return(false);
            }

            return(true);
        }
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as OperationOutcome;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Issue, otherT.Issue)) return false;
     
     return true;
 }
Esempio n. 46
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as PaymentReconciliation;

            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(Period, otherT.Period))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(CreatedElement, otherT.CreatedElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PaymentIssuer, otherT.PaymentIssuer))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Request, otherT.Request))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Requestor, otherT.Requestor))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(OutcomeElement, otherT.OutcomeElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DispositionElement, otherT.DispositionElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PaymentDateElement, otherT.PaymentDateElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PaymentAmount, otherT.PaymentAmount))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PaymentIdentifier, otherT.PaymentIdentifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Detail, otherT.Detail))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(FormCode, otherT.FormCode))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ProcessNote, otherT.ProcessNote))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 47
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as VisionPrescription;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Identifier, otherT.Identifier)) return false;
     if( !DeepComparable.IsExactly(DateWrittenElement, otherT.DateWrittenElement)) return false;
     if( !DeepComparable.IsExactly(Patient, otherT.Patient)) return false;
     if( !DeepComparable.IsExactly(Prescriber, otherT.Prescriber)) return false;
     if( !DeepComparable.IsExactly(Encounter, otherT.Encounter)) return false;
     if( !DeepComparable.IsExactly(Reason, otherT.Reason)) return false;
     if( !DeepComparable.IsExactly(Dispense, otherT.Dispense)) return false;
     
     return true;
 }
Esempio n. 48
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as List;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(TitleElement, otherT.TitleElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Code, otherT.Code))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Source, otherT.Source))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DateElement, otherT.DateElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(OrderedBy, otherT.OrderedBy))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ModeElement, otherT.ModeElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(NoteElement, otherT.NoteElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Entry, otherT.Entry))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(EmptyReason, otherT.EmptyReason))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 49
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as SeriesComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(UidElement, otherT.UidElement)) return false;
     if( !DeepComparable.IsExactly(UrlElement, otherT.UrlElement)) return false;
     if( !DeepComparable.IsExactly(Instance, otherT.Instance)) return false;
     
     return true;
 }
Esempio n. 50
0
        public override bool Matches(IDeepComparable other)
        {
            var otherT = other as MedicinalProductAuthorization;

            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(Country, otherT.Country))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Jurisdiction, otherT.Jurisdiction))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Status, otherT.Status))
            {
                return(false);
            }
            if (!DeepComparable.Matches(StatusDateElement, otherT.StatusDateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(RestoreDateElement, otherT.RestoreDateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(ValidityPeriod, otherT.ValidityPeriod))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DataExclusivityPeriod, otherT.DataExclusivityPeriod))
            {
                return(false);
            }
            if (!DeepComparable.Matches(DateOfFirstAuthorizationElement, otherT.DateOfFirstAuthorizationElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(InternationalBirthDateElement, otherT.InternationalBirthDateElement))
            {
                return(false);
            }
            if (!DeepComparable.Matches(LegalBasis, otherT.LegalBasis))
            {
                return(false);
            }
            if (!DeepComparable.Matches(JurisdictionalAuthorization, otherT.JurisdictionalAuthorization))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Holder, otherT.Holder))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Regulator, otherT.Regulator))
            {
                return(false);
            }
            if (!DeepComparable.Matches(Procedure, otherT.Procedure))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 51
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as FramesComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(FrameNumbersElement, otherT.FrameNumbersElement)) return false;
     if( !DeepComparable.IsExactly(UrlElement, otherT.UrlElement)) return false;
     
     return true;
 }
Esempio n. 52
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as NamingSystem;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(NameElement, otherT.NameElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(KindElement, otherT.KindElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PublisherElement, otherT.PublisherElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Contact, otherT.Contact))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ResponsibleElement, otherT.ResponsibleElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DateElement, otherT.DateElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Type, otherT.Type))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DescriptionElement, otherT.DescriptionElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(UseContext, otherT.UseContext))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(UsageElement, otherT.UsageElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(UniqueId, otherT.UniqueId))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReplacedBy, otherT.ReplacedBy))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 53
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as SectionComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(TitleElement, otherT.TitleElement)) return false;
     if( !DeepComparable.IsExactly(Code, otherT.Code)) return false;
     if( !DeepComparable.IsExactly(Text, otherT.Text)) return false;
     if( !DeepComparable.IsExactly(ModeElement, otherT.ModeElement)) return false;
     if( !DeepComparable.IsExactly(OrderedBy, otherT.OrderedBy)) return false;
     if( !DeepComparable.IsExactly(Entry, otherT.Entry)) return false;
     if( !DeepComparable.IsExactly(EmptyReason, otherT.EmptyReason)) return false;
     if( !DeepComparable.IsExactly(Section, otherT.Section)) return false;
     
     return true;
 }
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as MedicationStatement;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(BasedOn, otherT.BasedOn))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(PartOf, otherT.PartOf))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusReason, otherT.StatusReason))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Category, otherT.Category))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Medication, otherT.Medication))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Context, otherT.Context))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Effective, otherT.Effective))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DateAssertedElement, otherT.DateAssertedElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(InformationSource, otherT.InformationSource))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DerivedFrom, otherT.DerivedFrom))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReasonCode, otherT.ReasonCode))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReasonReference, otherT.ReasonReference))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Note, otherT.Note))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Dosage, otherT.Dosage))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 55
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as CompositionEventComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Code, otherT.Code)) return false;
     if( !DeepComparable.IsExactly(Period, otherT.Period)) return false;
     if( !DeepComparable.IsExactly(Detail, otherT.Detail)) return false;
     
     return true;
 }
Esempio n. 56
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as Procedure;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Category, otherT.Category))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Code, otherT.Code))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(NotPerformedElement, otherT.NotPerformedElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReasonNotPerformed, otherT.ReasonNotPerformed))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(BodySite, otherT.BodySite))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Reason, otherT.Reason))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Performer, otherT.Performer))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Performed, otherT.Performed))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Location, otherT.Location))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Outcome, otherT.Outcome))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Report, otherT.Report))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Complication, otherT.Complication))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(FollowUp, otherT.FollowUp))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Request, otherT.Request))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Notes, otherT.Notes))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(FocalDevice, otherT.FocalDevice))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Used, otherT.Used))
            {
                return(false);
            }

            return(true);
        }
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as DeviceUseStatement;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(BodySite, otherT.BodySite)) return false;
     if( !DeepComparable.IsExactly(WhenUsed, otherT.WhenUsed)) return false;
     if( !DeepComparable.IsExactly(Device, otherT.Device)) return false;
     if( !DeepComparable.IsExactly(Identifier, otherT.Identifier)) return false;
     if( !DeepComparable.IsExactly(Indication, otherT.Indication)) return false;
     if( !DeepComparable.IsExactly(NotesElement, otherT.NotesElement)) return false;
     if( !DeepComparable.IsExactly(RecordedOnElement, otherT.RecordedOnElement)) return false;
     if( !DeepComparable.IsExactly(Subject, otherT.Subject)) return false;
     if( !DeepComparable.IsExactly(Timing, otherT.Timing)) return false;
     
     return true;
 }
Esempio n. 58
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as ReferralRequest;

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

            if (!base.IsExactly(otherT))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(StatusElement, otherT.StatusElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Identifier, otherT.Identifier))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DateElement, otherT.DateElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Type, otherT.Type))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Specialty, otherT.Specialty))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Priority, otherT.Priority))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Patient, otherT.Patient))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Requester, otherT.Requester))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Recipient, otherT.Recipient))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DateSentElement, otherT.DateSentElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Reason, otherT.Reason))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(DescriptionElement, otherT.DescriptionElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ServiceRequested, otherT.ServiceRequested))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(SupportingInformation, otherT.SupportingInformation))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(FulfillmentTime, otherT.FulfillmentTime))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 59
0
 public override bool IsExactly(IDeepComparable other)
 {
     var otherT = other as DeviceComponent;
     if(otherT == null) return false;
     
     if(!base.IsExactly(otherT)) return false;
     if( !DeepComparable.IsExactly(Type, otherT.Type)) return false;
     if( !DeepComparable.IsExactly(Identifier, otherT.Identifier)) return false;
     if( !DeepComparable.IsExactly(LastSystemChangeElement, otherT.LastSystemChangeElement)) return false;
     if( !DeepComparable.IsExactly(Source, otherT.Source)) return false;
     if( !DeepComparable.IsExactly(Parent, otherT.Parent)) return false;
     if( !DeepComparable.IsExactly(OperationalStatus, otherT.OperationalStatus)) return false;
     if( !DeepComparable.IsExactly(ParameterGroup, otherT.ParameterGroup)) return false;
     if( !DeepComparable.IsExactly(MeasurementPrincipleElement, otherT.MeasurementPrincipleElement)) return false;
     if( !DeepComparable.IsExactly(ProductionSpecification, otherT.ProductionSpecification)) return false;
     if( !DeepComparable.IsExactly(LanguageCode, otherT.LanguageCode)) return false;
     
     return true;
 }
Esempio n. 60
0
        public override bool IsExactly(IDeepComparable other)
        {
            var otherT = other as CareTeam;

            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(Category, otherT.Category))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(NameElement, otherT.NameElement))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Subject, otherT.Subject))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Encounter, otherT.Encounter))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Period, otherT.Period))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Participant, otherT.Participant))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReasonCode, otherT.ReasonCode))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ReasonReference, otherT.ReasonReference))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(ManagingOrganization, otherT.ManagingOrganization))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Telecom, otherT.Telecom))
            {
                return(false);
            }
            if (!DeepComparable.IsExactly(Note, otherT.Note))
            {
                return(false);
            }

            return(true);
        }