public static void AddProfileAssertion(this ResourceEntry entry, Uri profileUri) { entry.Tags.Add(new Tag(profileUri.ToString(), Tag.FHIRTAGSCHEME_PROFILE)); }
public static void AddSecurityLabel(this ResourceEntry entry, Uri label) { entry.Tags.Add(new Tag(label.ToString(), Tag.FHIRTAGSCHEME_SECURITY)); }
public static IEnumerable <Uri> GetSecurityLabels(this ResourceEntry entry) { return(entry.Tags.Where(t => Equals(t.Scheme, Tag.FHIRTAGSCHEME_SECURITY) && t.Term != null) .Select(t => new Uri(t.Term))); }
public static IEnumerable <Uri> GetAssertedProfiles(this ResourceEntry entry) { return(entry.Tags.Where(t => Equals(t.Scheme, Tag.FHIRTAGSCHEME_PROFILE) && t.Term != null) .Select(t => new Uri(t.Term))); }