//
//  CommunicationNotDoneReason.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.

/**
 Codes for the reason why a communication did not happen.
 
 URL: http://terminology.hl7.org/CodeSystem/communication-not-done-reason
 ValueSet: http://hl7.org/fhir/ValueSet/communication-not-done-reason
 */
public enum CommunicationNotDoneReason: String, AsclepiusPrimitiveType {
  /// The communication was not done due to an unknown reason
  case unknown
  
  /// The communication was not done due to a system error
  case systemError = "system-error"
  
  /// The communication was not done due to an invalid phone number
  case invalidPhoneNumber = "invalid-phone-number"
  
  /// The communication was not done due to the recipient being unavailable
  case recipientUnavailable = "recipient-unavailable"
  
  /// The communication was not done due to a family objection
  case familyObjection = "family-objection"
  
  /// The communication was not done due to a patient objection
  case patientObjection = "patient-objection"
}
