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