Replace() public method

public Replace ( Definition definition ) : void
definition Definition
return void
コード例 #1
0
 private static void ManualCorrectDefinitions(Definitions items)
 {
     // These overrides are for those cases where the current meta-data does not help or is incorrect.
     items.Replace(new Definition()
     {
         Resource = "Patient", ParamName = "phonetic", Query = new ElementQuery("Patient.Name.Family", "Patient.Name.Given"), Argument = new FuzzyArgument()
     });
     items.Replace(new Definition()
     {
         Resource = "Practitioner", ParamName = "phonetic", Query = new ElementQuery("Practitioner.Name.Family", "Practitioner.Name.Given"), Argument = new FuzzyArgument()
     });
 }
コード例 #2
0
ファイル: DefinitionsFactory.cs プロジェクト: Condeti/spark
 private static void ManualCorrectDefinitions(Definitions items)
 {
     // These overrides are for those cases where the current meta-data does not help or is incorrect.
     items.Replace(new Definition() { Resource = "Patient", ParamName = "phonetic", Query = new ElementQuery("Patient.Name.Family", "Patient.Name.Given"), Argument = new FuzzyArgument() });
     items.Replace(new Definition() { Resource = "Practitioner", ParamName = "phonetic", Query = new ElementQuery("Practitioner.Name.Family", "Practitioner.Name.Given"), Argument = new FuzzyArgument() });
 }