示例#1
0
 public static bool IsBoolean(this CompiledExpression evaluator, bool value, IElementNavigator input, EvaluationContext ctx)
 {
     return(evaluator.IsBoolean(value, input.ToTypedElement(), ctx));
 }
示例#2
0
 public static object Scalar(this IElementNavigator input, string expression, IElementNavigator resource)
 {
     return(Scalar(input.ToTypedElement(), expression, new EvaluationContext(resource)));
 }
示例#3
0
 public static bool Predicate(this IElementNavigator input, string expression, IElementNavigator resource)
 {
     return(Predicate(input.ToTypedElement(), expression, new EvaluationContext(resource)));
 }
示例#4
0
 public static bool IsBoolean(this IElementNavigator input, string expression, bool value, IElementNavigator resource)
 {
     return(IsBoolean(input.ToTypedElement(), expression, value, new EvaluationContext(resource)));
 }
示例#5
0
 public static IEnumerable <IElementNavigator> Select(this IElementNavigator input, string expression, IElementNavigator resource)
 {
     return(Select(input.ToTypedElement(), expression, new EvaluationContext(resource)).Select(t => t.ToElementNavigator()));
 }
示例#6
0
 public FhirEvaluationContext(IElementNavigator context) : base(context.ToTypedElement())
 {
 }
 public static bool HtmlChecks(this IElementNavigator focus)
 => focus.ToTypedElement().HtmlChecks();
示例#8
0
 public OperationOutcome Validate(IElementNavigator instance, IEnumerable <string> definitionUris)
 {
     return(Validate(instance.ToTypedElement(), declaredTypeProfile: null, statedCanonicals: definitionUris, statedProfiles: null));
 }
示例#9
0
 public OperationOutcome Validate(IElementNavigator instance, params StructureDefinition[] structureDefinitions)
 {
     return(Validate(instance.ToTypedElement(), (IEnumerable <StructureDefinition>)structureDefinitions));
 }
示例#10
0
 public OperationOutcome Validate(IElementNavigator instance)
 {
     return(Validate(instance.ToTypedElement(), declaredTypeProfile: null, statedCanonicals: null, statedProfiles: null));
 }
示例#11
0
 public OperationOutcome Validate(IElementNavigator instance, params string[] definitionUris)
 {
     return(Validate(instance.ToTypedElement(), (IEnumerable <string>)definitionUris));
 }
示例#12
0
 public static OperationOutcome.IssueComponent AddIssue(this OperationOutcome outcome, string message, Issue infoIssue, IElementNavigator location)
 {
     return(AddIssue(outcome, message, infoIssue, location.ToTypedElement()));
 }
示例#13
0
 public static OperationOutcome NewOutcomeWithIssue(this Issue infoIssue, string message, IElementNavigator location)
 {
     return(NewOutcomeWithIssue(infoIssue, message, location.ToTypedElement()));
 }
示例#14
0
 public static bool ValidateInvariantRule(ValidationContext context, ElementDefinition.ConstraintComponent invariantRule, IElementNavigator model, OperationOutcome result)
 {
     return(ValidateInvariantRule(context, invariantRule, model.ToTypedElement(), result));
 }
 public static void WriteTo(this IElementNavigator source, JsonWriter destination, FhirJsonSerializationSettings settings = null) =>
 source.ToTypedElement().WriteTo(destination, settings);
示例#16
0
 public OperationOutcome Validate(IElementNavigator instance, IEnumerable <StructureDefinition> structureDefinitions)
 {
     return(Validate(instance.ToTypedElement(), declaredTypeProfile: null, statedCanonicals: null, statedProfiles: structureDefinitions));
 }
示例#17
0
 public EvaluationContext(IElementNavigator container)
 {
     Container = container.ToTypedElement();
 }
示例#18
0
 public static T ParsePrimitive <T>(this IElementNavigator instance) where T : Primitive, new()
 => ParsePrimitive <T>(instance.ToTypedElement());
 public static bool HasValue(this IElementNavigator focus)
 => focus.ToTypedElement().HasValue();
示例#20
0
 public static Coding ParseCoding(this IElementNavigator instance)
 => ParseCoding(instance.ToTypedElement());
示例#21
0
 public static bool IsBoolean(this IElementNavigator input, string expression, bool value, EvaluationContext ctx = null)
 {
     return(IsBoolean(input.ToTypedElement(), expression, value, ctx));
 }
示例#22
0
 public static ResourceReference ParseResourceReference(this IElementNavigator instance)
 => ParseResourceReference(instance.ToTypedElement());
示例#23
0
 public static IEnumerable <IElementNavigator> Select(this IElementNavigator input, string expression, EvaluationContext ctx = null)
 {
     return(Select(input.ToTypedElement(), expression, ctx).Select(t => t.ToElementNavigator()));
 }
示例#24
0
 public static CodeableConcept ParseCodeableConcept(this IElementNavigator instance)
 => ParseCodeableConcept(instance.ToTypedElement());
示例#25
0
 public static object Scalar(this IElementNavigator input, string expression, EvaluationContext ctx = null)
 {
     return(Scalar(input.ToTypedElement(), expression, ctx));
 }
示例#26
0
 public static Model.Quantity ParseQuantity(this IElementNavigator instance)
 {
     return(ParseQuantity(instance.ToTypedElement()));
 }
示例#27
0
 public static bool Predicate(this IElementNavigator input, string expression, EvaluationContext ctx = null)
 {
     return(Predicate(input.ToTypedElement(), expression, ctx));
 }
示例#28
0
 public static Element ParseBindable(this IElementNavigator instance)
 {
     return(ParseBindable(instance.ToTypedElement()));
 }
 public static void AddVar(this SymbolTable table, string name, IElementNavigator value)
 {
     table.Add(new CallSignature(name, typeof(string)), InvokeeFactory.Return(value.ToTypedElement()));
 }
示例#30
0
 public static bool Predicate(this CompiledExpression evaluator, IElementNavigator input, EvaluationContext ctx)
 {
     return(evaluator.Predicate(input.ToTypedElement(), ctx));
 }