//
//  MatchGrade.swift
//  Asclepius
//  Module: STU3
//
//  Copyright (c) 2022 Bitmatic Ltd.
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.

/**
 A Master Patient Index (MPI) assessment of whether a candidate patient record is a match or not.
 
 URL: http://terminology.hl7.org/CodeSystem/match-grade
 ValueSet: http://hl7.org/fhir/ValueSet/match-grade
 */
public enum MatchGrade: String, AsclepiusPrimitiveType {
  /// This record meets the matching criteria to be automatically considered as a full match.
  case certain
  
  /// This record is a close match, but not a certain match. Additional review (e.g. by a human) may be required
  /// before using this as a match.
  case probable
  
  /// This record may be a matching one. Additional review (e.g. by a human) SHOULD be performed before using this as
  /// a match.
  case possible
  
    /// This record is known not to be a match. Note that usually non-matching records are not returned, but in some
    /// cases records previously or likely considered as a match may specifically be negated by the matching engine.
  case certainlyNot = "certainly-not"
}
