{-# 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.SNOMEDCTAttributeType
( SNOMEDCTAttributeType
( ..,
SNOMEDCTAttributeType_ACUITY,
SNOMEDCTAttributeType_DIRECTION,
SNOMEDCTAttributeType_QUALITY,
SNOMEDCTAttributeType_SYSTEM_ORGAN_SITE,
SNOMEDCTAttributeType_TEST_UNIT,
SNOMEDCTAttributeType_TEST_VALUE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype SNOMEDCTAttributeType = SNOMEDCTAttributeType'
{ SNOMEDCTAttributeType -> Text
fromSNOMEDCTAttributeType ::
Data.Text
}
deriving stock
( Int -> SNOMEDCTAttributeType -> ShowS
[SNOMEDCTAttributeType] -> ShowS
SNOMEDCTAttributeType -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SNOMEDCTAttributeType] -> ShowS
$cshowList :: [SNOMEDCTAttributeType] -> ShowS
show :: SNOMEDCTAttributeType -> String
$cshow :: SNOMEDCTAttributeType -> String
showsPrec :: Int -> SNOMEDCTAttributeType -> ShowS
$cshowsPrec :: Int -> SNOMEDCTAttributeType -> ShowS
Prelude.Show,
ReadPrec [SNOMEDCTAttributeType]
ReadPrec SNOMEDCTAttributeType
Int -> ReadS SNOMEDCTAttributeType
ReadS [SNOMEDCTAttributeType]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SNOMEDCTAttributeType]
$creadListPrec :: ReadPrec [SNOMEDCTAttributeType]
readPrec :: ReadPrec SNOMEDCTAttributeType
$creadPrec :: ReadPrec SNOMEDCTAttributeType
readList :: ReadS [SNOMEDCTAttributeType]
$creadList :: ReadS [SNOMEDCTAttributeType]
readsPrec :: Int -> ReadS SNOMEDCTAttributeType
$creadsPrec :: Int -> ReadS SNOMEDCTAttributeType
Prelude.Read,
SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
$c/= :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
== :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
$c== :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
Prelude.Eq,
Eq SNOMEDCTAttributeType
SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Ordering
SNOMEDCTAttributeType
-> SNOMEDCTAttributeType -> SNOMEDCTAttributeType
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 :: SNOMEDCTAttributeType
-> SNOMEDCTAttributeType -> SNOMEDCTAttributeType
$cmin :: SNOMEDCTAttributeType
-> SNOMEDCTAttributeType -> SNOMEDCTAttributeType
max :: SNOMEDCTAttributeType
-> SNOMEDCTAttributeType -> SNOMEDCTAttributeType
$cmax :: SNOMEDCTAttributeType
-> SNOMEDCTAttributeType -> SNOMEDCTAttributeType
>= :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
$c>= :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
> :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
$c> :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
<= :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
$c<= :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
< :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
$c< :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Bool
compare :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Ordering
$ccompare :: SNOMEDCTAttributeType -> SNOMEDCTAttributeType -> Ordering
Prelude.Ord,
forall x. Rep SNOMEDCTAttributeType x -> SNOMEDCTAttributeType
forall x. SNOMEDCTAttributeType -> Rep SNOMEDCTAttributeType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SNOMEDCTAttributeType x -> SNOMEDCTAttributeType
$cfrom :: forall x. SNOMEDCTAttributeType -> Rep SNOMEDCTAttributeType x
Prelude.Generic
)
deriving newtype
( Eq SNOMEDCTAttributeType
Int -> SNOMEDCTAttributeType -> Int
SNOMEDCTAttributeType -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: SNOMEDCTAttributeType -> Int
$chash :: SNOMEDCTAttributeType -> Int
hashWithSalt :: Int -> SNOMEDCTAttributeType -> Int
$chashWithSalt :: Int -> SNOMEDCTAttributeType -> Int
Prelude.Hashable,
SNOMEDCTAttributeType -> ()
forall a. (a -> ()) -> NFData a
rnf :: SNOMEDCTAttributeType -> ()
$crnf :: SNOMEDCTAttributeType -> ()
Prelude.NFData,
Text -> Either String SNOMEDCTAttributeType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String SNOMEDCTAttributeType
$cfromText :: Text -> Either String SNOMEDCTAttributeType
Data.FromText,
SNOMEDCTAttributeType -> Text
forall a. (a -> Text) -> ToText a
toText :: SNOMEDCTAttributeType -> Text
$ctoText :: SNOMEDCTAttributeType -> Text
Data.ToText,
SNOMEDCTAttributeType -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: SNOMEDCTAttributeType -> ByteString
$ctoBS :: SNOMEDCTAttributeType -> ByteString
Data.ToByteString,
SNOMEDCTAttributeType -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: SNOMEDCTAttributeType -> ByteStringBuilder
$cbuild :: SNOMEDCTAttributeType -> ByteStringBuilder
Data.ToLog,
HeaderName -> SNOMEDCTAttributeType -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> SNOMEDCTAttributeType -> [Header]
$ctoHeader :: HeaderName -> SNOMEDCTAttributeType -> [Header]
Data.ToHeader,
SNOMEDCTAttributeType -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: SNOMEDCTAttributeType -> QueryString
$ctoQuery :: SNOMEDCTAttributeType -> QueryString
Data.ToQuery,
Value -> Parser [SNOMEDCTAttributeType]
Value -> Parser SNOMEDCTAttributeType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [SNOMEDCTAttributeType]
$cparseJSONList :: Value -> Parser [SNOMEDCTAttributeType]
parseJSON :: Value -> Parser SNOMEDCTAttributeType
$cparseJSON :: Value -> Parser SNOMEDCTAttributeType
Data.FromJSON,
FromJSONKeyFunction [SNOMEDCTAttributeType]
FromJSONKeyFunction SNOMEDCTAttributeType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [SNOMEDCTAttributeType]
$cfromJSONKeyList :: FromJSONKeyFunction [SNOMEDCTAttributeType]
fromJSONKey :: FromJSONKeyFunction SNOMEDCTAttributeType
$cfromJSONKey :: FromJSONKeyFunction SNOMEDCTAttributeType
Data.FromJSONKey,
[SNOMEDCTAttributeType] -> Encoding
[SNOMEDCTAttributeType] -> Value
SNOMEDCTAttributeType -> Encoding
SNOMEDCTAttributeType -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [SNOMEDCTAttributeType] -> Encoding
$ctoEncodingList :: [SNOMEDCTAttributeType] -> Encoding
toJSONList :: [SNOMEDCTAttributeType] -> Value
$ctoJSONList :: [SNOMEDCTAttributeType] -> Value
toEncoding :: SNOMEDCTAttributeType -> Encoding
$ctoEncoding :: SNOMEDCTAttributeType -> Encoding
toJSON :: SNOMEDCTAttributeType -> Value
$ctoJSON :: SNOMEDCTAttributeType -> Value
Data.ToJSON,
ToJSONKeyFunction [SNOMEDCTAttributeType]
ToJSONKeyFunction SNOMEDCTAttributeType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [SNOMEDCTAttributeType]
$ctoJSONKeyList :: ToJSONKeyFunction [SNOMEDCTAttributeType]
toJSONKey :: ToJSONKeyFunction SNOMEDCTAttributeType
$ctoJSONKey :: ToJSONKeyFunction SNOMEDCTAttributeType
Data.ToJSONKey,
[Node] -> Either String SNOMEDCTAttributeType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String SNOMEDCTAttributeType
$cparseXML :: [Node] -> Either String SNOMEDCTAttributeType
Data.FromXML,
SNOMEDCTAttributeType -> XML
forall a. (a -> XML) -> ToXML a
toXML :: SNOMEDCTAttributeType -> XML
$ctoXML :: SNOMEDCTAttributeType -> XML
Data.ToXML
)
pattern SNOMEDCTAttributeType_ACUITY :: SNOMEDCTAttributeType
pattern $bSNOMEDCTAttributeType_ACUITY :: SNOMEDCTAttributeType
$mSNOMEDCTAttributeType_ACUITY :: forall {r}.
SNOMEDCTAttributeType -> ((# #) -> r) -> ((# #) -> r) -> r
SNOMEDCTAttributeType_ACUITY = SNOMEDCTAttributeType' "ACUITY"
pattern SNOMEDCTAttributeType_DIRECTION :: SNOMEDCTAttributeType
pattern $bSNOMEDCTAttributeType_DIRECTION :: SNOMEDCTAttributeType
$mSNOMEDCTAttributeType_DIRECTION :: forall {r}.
SNOMEDCTAttributeType -> ((# #) -> r) -> ((# #) -> r) -> r
SNOMEDCTAttributeType_DIRECTION = SNOMEDCTAttributeType' "DIRECTION"
pattern SNOMEDCTAttributeType_QUALITY :: SNOMEDCTAttributeType
pattern $bSNOMEDCTAttributeType_QUALITY :: SNOMEDCTAttributeType
$mSNOMEDCTAttributeType_QUALITY :: forall {r}.
SNOMEDCTAttributeType -> ((# #) -> r) -> ((# #) -> r) -> r
SNOMEDCTAttributeType_QUALITY = SNOMEDCTAttributeType' "QUALITY"
pattern SNOMEDCTAttributeType_SYSTEM_ORGAN_SITE :: SNOMEDCTAttributeType
pattern $bSNOMEDCTAttributeType_SYSTEM_ORGAN_SITE :: SNOMEDCTAttributeType
$mSNOMEDCTAttributeType_SYSTEM_ORGAN_SITE :: forall {r}.
SNOMEDCTAttributeType -> ((# #) -> r) -> ((# #) -> r) -> r
SNOMEDCTAttributeType_SYSTEM_ORGAN_SITE = SNOMEDCTAttributeType' "SYSTEM_ORGAN_SITE"
pattern SNOMEDCTAttributeType_TEST_UNIT :: SNOMEDCTAttributeType
pattern $bSNOMEDCTAttributeType_TEST_UNIT :: SNOMEDCTAttributeType
$mSNOMEDCTAttributeType_TEST_UNIT :: forall {r}.
SNOMEDCTAttributeType -> ((# #) -> r) -> ((# #) -> r) -> r
SNOMEDCTAttributeType_TEST_UNIT = SNOMEDCTAttributeType' "TEST_UNIT"
pattern SNOMEDCTAttributeType_TEST_VALUE :: SNOMEDCTAttributeType
pattern $bSNOMEDCTAttributeType_TEST_VALUE :: SNOMEDCTAttributeType
$mSNOMEDCTAttributeType_TEST_VALUE :: forall {r}.
SNOMEDCTAttributeType -> ((# #) -> r) -> ((# #) -> r) -> r
SNOMEDCTAttributeType_TEST_VALUE = SNOMEDCTAttributeType' "TEST_VALUE"
{-# COMPLETE
SNOMEDCTAttributeType_ACUITY,
SNOMEDCTAttributeType_DIRECTION,
SNOMEDCTAttributeType_QUALITY,
SNOMEDCTAttributeType_SYSTEM_ORGAN_SITE,
SNOMEDCTAttributeType_TEST_UNIT,
SNOMEDCTAttributeType_TEST_VALUE,
SNOMEDCTAttributeType'
#-}