/// <summary> /// Creates and Hydrates an atomicalSite /// </summary> /// <returns>AnatomicalSite</returns> private static AnatomicalSite CreateAnatomicalSite(string description) { var anatomicalSite = BaseCDAModel.CreateAnatomicalSite(); anatomicalSite.Description = description; return(anatomicalSite); }
/// <summary> /// Creates and Hydrates an atomicalSite /// </summary> /// <returns>AnatomicalSite</returns> private static AnatomicalSite CreateAnatomicalSite(string description, ICodableText side, List <ExternalData> images = null) { var anatomicalSite = BaseCDAModel.CreateAnatomicalSite(); anatomicalSite.Description = description; // Specific Location anatomicalSite.SpecificLocation = BaseCDAModel.CreateSpecificLocation(); // Side anatomicalSite.SpecificLocation.Side = side; // Images anatomicalSite.Images = images; return(anatomicalSite); }
/// <summary> /// Creates and Hydrates an atomicalSite /// </summary> /// <returns>AnatomicalSite</returns> private static AnatomicalSite CreateAnatomicalSite(ICodableText nameOfLocation, ICodableText side, List <ExternalData> images = null) { // Anatomical Site var anatomicalSite = BaseCDAModel.CreateAnatomicalSite(); // Specific Location anatomicalSite.SpecificLocation = BaseCDAModel.CreateSpecificLocation(); // Name O fLocation anatomicalSite.SpecificLocation.NameOfLocation = nameOfLocation; // Side anatomicalSite.SpecificLocation.Side = side; // Images anatomicalSite.Images = images; return(anatomicalSite); }