// // STRUCTURE_FORM // public static StructureForm?GetStructureForm(this Profile.ProfileStructureComponent structure) { var val = structure.GetExtensionValue(STRUCTURE_FORM) as Code; StructureForm?form = null; if (val != null) { form = (StructureForm)Enum.Parse(typeof(StructureForm), val.Value); } return(form); }
// // STRUCTURE_BASE_URI // public static string GetStructureBaseUri(this Profile.ProfileStructureComponent structure) { var val = structure.GetExtensionValue(STRUCTURE_BASE_URI) as FhirUri; return(val != null ? val.Value : null); }