public override int GetHashCode() { return(PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ TypeConceptId.GetHashCode() ^ (SourceValue != null ? SourceValue.GetHashCode() : 0) ^ (StopReason != null ? StopReason.GetHashCode() : 0) ^ Refills.GetHashCode() ^ VisitOccurrenceId.GetHashCode() ^ Quantity.GetHashCode() ^ DaysSupply.GetHashCode() ^ RouteConceptId.GetHashCode() ^ EffectiveDrugDose.GetHashCode() ^ DoseUnitConceptId.GetHashCode() ^ SourceConceptId.GetHashCode() ^ (Sig != null ? Sig.GetHashCode() : 0) ^ (LotNumber != null ? LotNumber.GetHashCode() : 0) ^ (RouteSourceValue != null ? RouteSourceValue.GetHashCode() : 0) ^ (DoseUnitSourceValue != null ? DoseUnitSourceValue.GetHashCode() : 0) ^ ProviderId.GetHashCode() ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode()) ^ (VerbatimEndDate.GetHashCode()) ^ (StartTime != null ? StartTime.GetHashCode() : 0) ^ (EndTime != null ? EndTime.GetHashCode() : 0)); }
} // AddCSconcept #endregion // ****************************************************************************** // ****************************************************************************** // ***** SIMPLE (& constrained) WRITE METHODS ************************************************* #region ***** SIMPLE (& constrained) WRITE METHODS // ****************************************************************************** public void ScAddCSCconceptId(string conceptElementId, ConceptId conceptId) // Code History: // 2010-12-12 mws { XmlNode parentXN = XmlDoc.SelectSingleNode("/nar:" + RootElemName + "/nar:conceptSet/nar:concept[@id='" + conceptElementId + "']", NsMngr); if (parentXN == null) { AddCSconcept(conceptElementId); } parentXN = XmlDoc.SelectSingleNode("/nar:" + RootElemName + "/nar:conceptSet/nar:concept[@id='" + conceptElementId + "']", NsMngr); XmlElement newXElement = XmlDoc.CreateElement("conceptId", G2NsCs); if (!string.IsNullOrEmpty(conceptId.qcode)) { newXElement.SetAttribute("qcode", conceptId.qcode); } if (!string.IsNullOrEmpty(conceptId.created)) { newXElement.SetAttribute("created", conceptId.created); } if (!string.IsNullOrEmpty(conceptId.retired)) { newXElement.SetAttribute("retired", conceptId.retired); } parentXN.PrependChild(newXElement); } // ScAddCSCconceptId
public override int GetHashCode() { return(PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode()) ^ StopReason.GetHashCode()); }
public async Task <Concept> GetConcept(ConceptId id) { var concept = await context.Concepts .Include(x => x.SubcategoriesInconcepts) .ThenInclude(x => x.Subcategories) .FirstOrDefaultAsync(x => x.Id == id); return(new ConceptMapper(concept).Map()); }
public override int GetHashCode() { return(PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode()) ^ TypeConceptId.GetHashCode() ^ OccurrenceCount.GetHashCode()); }
public override int GetHashCode() { return(PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ TypeConceptId.GetHashCode() ^ VisitOccurrenceId.GetHashCode() ^ (StartDate.GetHashCode()) ^ (SourceValue != null ? SourceValue.GetHashCode() : 0)); //^ ReleventConditionConceptId.GetHashCode(); }
public override int GetHashCode() { return(PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ (StartDate.GetHashCode()) ^ //(EndDate.GetHashCode()) ^ TypeConceptId.GetHashCode() ^ //SourceConceptId.GetHashCode() ^ VisitOccurrenceId.GetHashCode() ^ (SourceValue != null ? SourceValue.GetHashCode() : 0)); }
public override int GetHashCode() { return(Id.GetHashCode() ^ PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ TypeConceptId.GetHashCode() ^ (SourceValue != null ? SourceValue.GetHashCode() : 0) ^ (CareSiteId.GetHashCode()) ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode())); }
public override int GetHashCode() { return(PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ TypeConceptId.GetHashCode() ^ ProviderId.GetHashCode() ^ Quantity.GetHashCode() ^ (SourceValue != null ? SourceValue.GetHashCode() : 0) ^ SourceConceptId.GetHashCode() ^ (UniqueDeviceId != null ? UniqueDeviceId.GetHashCode() : 0) ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode())); }
public override int GetHashCode() { return(PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode()) ^ TypeConceptId.GetHashCode() ^ StatusConceptId.GetHashCode() ^ VisitOccurrenceId.GetHashCode() ^ (StopReason != null ? StopReason.GetHashCode() : 0) ^ SourceConceptId.GetHashCode() ^ ProviderId.GetHashCode() ^ (StatusSourceValue != null ? StatusSourceValue.GetHashCode() : 0) ^ (SourceValue != null ? SourceValue.GetHashCode() : 0)); }
public ConceptStructProp() { CoreConcept = new Concept(); ConceptId = new ConceptId(); Type = new Type(); Names = new List <Name>(); Definitions = new List <Definition>(); Notes = new List <Note>(); RemoteInfos = new List <RemoteInfo>(); HierarchyInfos = new List <HierarchyInfo>(); SameAsses = new List <SameAs>(); Broaders = new List <Broader>(); Narrowers = new List <Narrower>(); Relateds = new List <Related>(); }
public override int GetHashCode() { return(Id.GetHashCode() ^ PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ TypeConceptId.GetHashCode() ^ (SourceValue != null ? SourceValue.GetHashCode() : 0) ^ SourceConceptId.GetHashCode() ^ (CareSiteId.GetHashCode()) ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode()) ^ AdmittingSourceConceptId.GetHashCode() ^ (AdmittingSourceValue != null ? AdmittingSourceValue.GetHashCode() : 0) ^ DischargeToConceptId.GetHashCode() ^ (DischargeToSourceValue != null ? DischargeToSourceValue.GetHashCode() : 0) ^ PrecedingVisitOccurrenceId.GetHashCode()); }
public override int GetHashCode() { return(PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ TypeConceptId.GetHashCode() ^ (SourceValue != null ? SourceValue.GetHashCode() : 0) ^ (StopReason != null ? StopReason.GetHashCode() : 0) ^ Refills.GetHashCode() ^ VisitOccurrenceId.GetHashCode() ^ Quantity.GetHashCode() ^ DaysSupply.GetHashCode() ^ (Sig != null ? Sig.GetHashCode() : 0) ^ ProviderId.GetHashCode() ^ RelevantConditionConceptId.GetHashCode() ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode())); }
public override int GetHashCode() { return(PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode()) ^ TypeConceptId.GetHashCode() ^ VisitOccurrenceId.GetHashCode() ^ ValueAsNumber.GetHashCode() ^ RangeLow.GetHashCode() ^ RangeHigh.GetHashCode() ^ VisitOccurrenceId.GetHashCode() ^ ValueAsConceptId.GetHashCode() ^ Time.GetHashCode() ^ ProviderId.GetHashCode() ^ RelevantConditionConceptId.GetHashCode() ^ UnitsConceptId.GetHashCode() ^ (ValueAsString != null ? ValueAsString.GetHashCode() : 0) ^ (UnitsSourceValue != null ? UnitsSourceValue.GetHashCode() : 0) ^ (SourceValue != null ? SourceValue.GetHashCode() : 0)); }
public override int GetHashCode() { return(Id.GetHashCode() ^ PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ TypeConceptId.GetHashCode() ^ (SourceValue != null ? SourceValue.GetHashCode() : 0) ^ (StartTime != null ? StartTime.GetHashCode() : 0) ^ (EndTime != null ? EndTime.GetHashCode() : 0) ^ SourceConceptId.GetHashCode() ^ (CareSiteId.GetHashCode()) ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode()) ^ AdmittingSourceConceptId.GetHashCode() ^ (AdmittingSourceValue != null ? AdmittingSourceValue.GetHashCode() : 0) ^ (ProviderKey != null ? ProviderKey.GetHashCode() : 0) ^ (ProviderId.GetHashCode()) ^ DischargeToConceptId.GetHashCode() ^ (DischargeToSourceValue != null ? DischargeToSourceValue.GetHashCode() : 0) ^ PrecedingVisitDetailId.GetHashCode() ^ VisitDetailParentId.GetHashCode()); }
public override int GetHashCode() { return(PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode()) ^ TypeConceptId.GetHashCode() ^ VisitOccurrenceId.GetHashCode() ^ ValueAsNumber.GetHashCode() ^ RangeLow.GetHashCode() ^ RangeHigh.GetHashCode() ^ OperatorConceptId.GetHashCode() ^ VisitOccurrenceId.GetHashCode() ^ ValueAsConceptId.GetHashCode() ^ (Time != null ? Time.GetHashCode() : 0) ^ ProviderId.GetHashCode() ^ (ValueSourceValue != null ? ValueSourceValue.GetHashCode() : 0) ^ SourceConceptId.GetHashCode() ^ UnitConceptId.GetHashCode() ^ (UnitSourceValue != null ? UnitSourceValue.GetHashCode() : 0) ^ (SourceValue != null ? SourceValue.GetHashCode() : 0)); }
public override string ToString() { return(ConceptId.ToString()); }