Пример #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()));
 }
Пример #29
0
 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));
 }