public SearchParameterTypeResult(ClassMapping classMapping, SearchParamType searchParamType, string path, Uri definition)
        {
            ClassMapping    = classMapping;
            SearchParamType = searchParamType;
            Path            = path;
            Definition      = definition;

            FhirNodeType = ((FhirTypeAttribute)ClassMapping.NativeType.GetCustomAttribute(typeof(FhirTypeAttribute))).Name;
        }
Example #2
0
 private static Type GetSearchValueTypeForSearchParameterType(SearchParamType searchParameterType) =>
 searchParameterType switch
 {