/// <summary>Determines if the specified value represents the name of a FHIR complex data type (NOT including resources and primitives).</summary> public static bool IsDataType(string name) { if (String.IsNullOrEmpty(name)) { return(false); } return(FhirTypeToCsType.ContainsKey(name) && !IsKnownResource(name) && !IsPrimitive(name)); }
/// <summary>Determines if the specified value represents the name of a FHIR primitive data type.</summary> public static bool IsPrimitive(string name) { if (String.IsNullOrEmpty(name)) { return(false); } return(FhirTypeToCsType.ContainsKey(name) && Char.IsLower(name[0])); }
public static Type GetTypeForFhirType(string name) { if (!FhirTypeToCsType.ContainsKey(name)) { return(null); } else { return(FhirTypeToCsType[name]); } }
public static bool IsDataType(string name) { return(FhirTypeToCsType.ContainsKey(name) && !IsKnownResource(name) && !IsPrimitive(name)); }
public static bool IsPrimitive(string name) { return(FhirTypeToCsType.ContainsKey(name) && Char.IsLower(name[0])); }
/// <summary>Determines if the specified value represents the name of a core Resource, Datatype or primitive.</summary> public static bool IsCoreModelType(string name) => FhirTypeToCsType.ContainsKey(name);