Ejemplo n.º 1
0
 public static void AddProfileAssertion(this ResourceEntry entry, Uri profileUri)
 {
     entry.Tags.Add(new Tag(profileUri.ToString(), Tag.FHIRTAGSCHEME_PROFILE));
 }
Ejemplo n.º 2
0
 public static void AddSecurityLabel(this ResourceEntry entry, Uri label)
 {
     entry.Tags.Add(new Tag(label.ToString(), Tag.FHIRTAGSCHEME_SECURITY));
 }
Ejemplo n.º 3
0
 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)));
 }
Ejemplo n.º 4
0
 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)));
 }