static internal List <string> GetAvailableSpecificationList() { List <string> specifications = new List <string>(); specifications.Add(Gp2Gp.GetDescription()); specifications.Add(ePrescription.GetDescription()); specifications.Add(eDischargeSummary.GetDescription()); specifications.Add(PharmacyHealthSummary.GetDescription()); specifications.Add(InterRaiCommunityHealth.GetDescription()); specifications.Add(InterRaiHomeCare.GetDescription()); specifications.Add(InterRaiLongTermCareFacility.GetDescription()); specifications.Add(InterRaiContact.GetDescription()); specifications.Add(Gp2Gpv2.GetDescription()); specifications.Add(CdaTemplates.GetDescription()); return(specifications); }
static internal SpecificationType GetSpecificationType(string specification) { SpecificationType specType = SpecificationType.Unknown; if (specification == Gp2Gp.GetDescription()) { specType = SpecificationType.GP2GP; } else if (specification == ePrescription.GetDescription()) { specType = SpecificationType.ePrescribing; } else if (specification == eDischargeSummary.GetDescription()) { specType = SpecificationType.eDischargeSummary; } else if (specification == CdaTemplates.GetDescription()) { specType = SpecificationType.CdaTemplates; } else if (specification == PharmacyHealthSummary.GetDescription()) { specType = SpecificationType.PharmacyHealthSummary; } else if (specification == InterRaiCommunityHealth.GetDescription()) { specType = SpecificationType.InterRaiCommunityHealth; } else if (specification == InterRaiHomeCare.GetDescription()) { specType = SpecificationType.InterRaiHomeCare; } else if (specification == InterRaiLongTermCareFacility.GetDescription()) { specType = SpecificationType.InterRaiLongTermCareFacility; } else if (specification == InterRaiContact.GetDescription()) { specType = SpecificationType.InterRaiContact; } else if (specification == Gp2Gpv2.GetDescription()) { specType = SpecificationType.GP2GPV2; } return(specType); }