{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Transcribe.Types.MedicalContentIdentificationType
( MedicalContentIdentificationType
( ..,
MedicalContentIdentificationType_PHI
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype MedicalContentIdentificationType = MedicalContentIdentificationType'
{ MedicalContentIdentificationType -> Text
fromMedicalContentIdentificationType ::
Data.Text
}
deriving stock
( Int -> MedicalContentIdentificationType -> ShowS
[MedicalContentIdentificationType] -> ShowS
MedicalContentIdentificationType -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MedicalContentIdentificationType] -> ShowS
$cshowList :: [MedicalContentIdentificationType] -> ShowS
show :: MedicalContentIdentificationType -> String
$cshow :: MedicalContentIdentificationType -> String
showsPrec :: Int -> MedicalContentIdentificationType -> ShowS
$cshowsPrec :: Int -> MedicalContentIdentificationType -> ShowS
Prelude.Show,
ReadPrec [MedicalContentIdentificationType]
ReadPrec MedicalContentIdentificationType
Int -> ReadS MedicalContentIdentificationType
ReadS [MedicalContentIdentificationType]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MedicalContentIdentificationType]
$creadListPrec :: ReadPrec [MedicalContentIdentificationType]
readPrec :: ReadPrec MedicalContentIdentificationType
$creadPrec :: ReadPrec MedicalContentIdentificationType
readList :: ReadS [MedicalContentIdentificationType]
$creadList :: ReadS [MedicalContentIdentificationType]
readsPrec :: Int -> ReadS MedicalContentIdentificationType
$creadsPrec :: Int -> ReadS MedicalContentIdentificationType
Prelude.Read,
MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
$c/= :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
== :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
$c== :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
Prelude.Eq,
Eq MedicalContentIdentificationType
MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Ordering
MedicalContentIdentificationType
-> MedicalContentIdentificationType
-> MedicalContentIdentificationType
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: MedicalContentIdentificationType
-> MedicalContentIdentificationType
-> MedicalContentIdentificationType
$cmin :: MedicalContentIdentificationType
-> MedicalContentIdentificationType
-> MedicalContentIdentificationType
max :: MedicalContentIdentificationType
-> MedicalContentIdentificationType
-> MedicalContentIdentificationType
$cmax :: MedicalContentIdentificationType
-> MedicalContentIdentificationType
-> MedicalContentIdentificationType
>= :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
$c>= :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
> :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
$c> :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
<= :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
$c<= :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
< :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
$c< :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Bool
compare :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Ordering
$ccompare :: MedicalContentIdentificationType
-> MedicalContentIdentificationType -> Ordering
Prelude.Ord,
forall x.
Rep MedicalContentIdentificationType x
-> MedicalContentIdentificationType
forall x.
MedicalContentIdentificationType
-> Rep MedicalContentIdentificationType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep MedicalContentIdentificationType x
-> MedicalContentIdentificationType
$cfrom :: forall x.
MedicalContentIdentificationType
-> Rep MedicalContentIdentificationType x
Prelude.Generic
)
deriving newtype
( Eq MedicalContentIdentificationType
Int -> MedicalContentIdentificationType -> Int
MedicalContentIdentificationType -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: MedicalContentIdentificationType -> Int
$chash :: MedicalContentIdentificationType -> Int
hashWithSalt :: Int -> MedicalContentIdentificationType -> Int
$chashWithSalt :: Int -> MedicalContentIdentificationType -> Int
Prelude.Hashable,
MedicalContentIdentificationType -> ()
forall a. (a -> ()) -> NFData a
rnf :: MedicalContentIdentificationType -> ()
$crnf :: MedicalContentIdentificationType -> ()
Prelude.NFData,
Text -> Either String MedicalContentIdentificationType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String MedicalContentIdentificationType
$cfromText :: Text -> Either String MedicalContentIdentificationType
Data.FromText,
MedicalContentIdentificationType -> Text
forall a. (a -> Text) -> ToText a
toText :: MedicalContentIdentificationType -> Text
$ctoText :: MedicalContentIdentificationType -> Text
Data.ToText,
MedicalContentIdentificationType -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: MedicalContentIdentificationType -> ByteString
$ctoBS :: MedicalContentIdentificationType -> ByteString
Data.ToByteString,
MedicalContentIdentificationType -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: MedicalContentIdentificationType -> ByteStringBuilder
$cbuild :: MedicalContentIdentificationType -> ByteStringBuilder
Data.ToLog,
HeaderName -> MedicalContentIdentificationType -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> MedicalContentIdentificationType -> [Header]
$ctoHeader :: HeaderName -> MedicalContentIdentificationType -> [Header]
Data.ToHeader,
MedicalContentIdentificationType -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: MedicalContentIdentificationType -> QueryString
$ctoQuery :: MedicalContentIdentificationType -> QueryString
Data.ToQuery,
Value -> Parser [MedicalContentIdentificationType]
Value -> Parser MedicalContentIdentificationType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [MedicalContentIdentificationType]
$cparseJSONList :: Value -> Parser [MedicalContentIdentificationType]
parseJSON :: Value -> Parser MedicalContentIdentificationType
$cparseJSON :: Value -> Parser MedicalContentIdentificationType
Data.FromJSON,
FromJSONKeyFunction [MedicalContentIdentificationType]
FromJSONKeyFunction MedicalContentIdentificationType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [MedicalContentIdentificationType]
$cfromJSONKeyList :: FromJSONKeyFunction [MedicalContentIdentificationType]
fromJSONKey :: FromJSONKeyFunction MedicalContentIdentificationType
$cfromJSONKey :: FromJSONKeyFunction MedicalContentIdentificationType
Data.FromJSONKey,
[MedicalContentIdentificationType] -> Encoding
[MedicalContentIdentificationType] -> Value
MedicalContentIdentificationType -> Encoding
MedicalContentIdentificationType -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [MedicalContentIdentificationType] -> Encoding
$ctoEncodingList :: [MedicalContentIdentificationType] -> Encoding
toJSONList :: [MedicalContentIdentificationType] -> Value
$ctoJSONList :: [MedicalContentIdentificationType] -> Value
toEncoding :: MedicalContentIdentificationType -> Encoding
$ctoEncoding :: MedicalContentIdentificationType -> Encoding
toJSON :: MedicalContentIdentificationType -> Value
$ctoJSON :: MedicalContentIdentificationType -> Value
Data.ToJSON,
ToJSONKeyFunction [MedicalContentIdentificationType]
ToJSONKeyFunction MedicalContentIdentificationType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [MedicalContentIdentificationType]
$ctoJSONKeyList :: ToJSONKeyFunction [MedicalContentIdentificationType]
toJSONKey :: ToJSONKeyFunction MedicalContentIdentificationType
$ctoJSONKey :: ToJSONKeyFunction MedicalContentIdentificationType
Data.ToJSONKey,
[Node] -> Either String MedicalContentIdentificationType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String MedicalContentIdentificationType
$cparseXML :: [Node] -> Either String MedicalContentIdentificationType
Data.FromXML,
MedicalContentIdentificationType -> XML
forall a. (a -> XML) -> ToXML a
toXML :: MedicalContentIdentificationType -> XML
$ctoXML :: MedicalContentIdentificationType -> XML
Data.ToXML
)
pattern MedicalContentIdentificationType_PHI :: MedicalContentIdentificationType
pattern $bMedicalContentIdentificationType_PHI :: MedicalContentIdentificationType
$mMedicalContentIdentificationType_PHI :: forall {r}.
MedicalContentIdentificationType
-> ((# #) -> r) -> ((# #) -> r) -> r
MedicalContentIdentificationType_PHI = MedicalContentIdentificationType' "PHI"
{-# COMPLETE
MedicalContentIdentificationType_PHI,
MedicalContentIdentificationType'
#-}