//
//  DeviceUseStatementStatus.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 coded concept indicating the current status of the Device Usage.
 
 URL: http://hl7.org/fhir/device-statement-status
 ValueSet: http://hl7.org/fhir/ValueSet/device-statement-status
 */
public enum DeviceUseStatementStatus: String, AsclepiusPrimitiveType {
  /// The device is still being used.
  case active
  
  /// The device is no longer being used.
  case completed
  
  /// The statement was recorded incorrectly.
  case enteredInError = "entered-in-error"
  
  /// The device may be used at some time in the future.
  case intended
  
  /// Actions implied by the statement have been permanently halted, before all of them occurred.
  case stopped
  
  /// Actions implied by the statement have been temporarily halted, but are expected to continue later. May also be
  /// called "suspended".
  case onHold = "on-hold"
}
