Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Service Configuration
- Errors
- AttributeName
- EntitySubType
- EntityType
- ICD10CMAttributeType
- ICD10CMEntityCategory
- ICD10CMEntityType
- ICD10CMRelationshipType
- ICD10CMTraitName
- JobStatus
- LanguageCode
- RelationshipType
- RxNormAttributeType
- RxNormEntityCategory
- RxNormEntityType
- RxNormTraitName
- SNOMEDCTAttributeType
- SNOMEDCTEntityCategory
- SNOMEDCTEntityType
- SNOMEDCTRelationshipType
- SNOMEDCTTraitName
- Attribute
- Characters
- ComprehendMedicalAsyncJobFilter
- ComprehendMedicalAsyncJobProperties
- Entity
- ICD10CMAttribute
- ICD10CMConcept
- ICD10CMEntity
- ICD10CMTrait
- InputDataConfig
- OutputDataConfig
- RxNormAttribute
- RxNormConcept
- RxNormEntity
- RxNormTrait
- SNOMEDCTAttribute
- SNOMEDCTConcept
- SNOMEDCTDetails
- SNOMEDCTEntity
- SNOMEDCTTrait
- Trait
- UnmappedAttribute
Synopsis
- defaultService :: Service
- _InternalServerException :: AsError a => Fold a ServiceError
- _InvalidEncodingException :: AsError a => Fold a ServiceError
- _InvalidRequestException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceUnavailableException :: AsError a => Fold a ServiceError
- _TextSizeLimitExceededException :: AsError a => Fold a ServiceError
- _TooManyRequestsException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype AttributeName where
- AttributeName' { }
- pattern AttributeName_DIAGNOSIS :: AttributeName
- pattern AttributeName_FUTURE :: AttributeName
- pattern AttributeName_HYPOTHETICAL :: AttributeName
- pattern AttributeName_LOW_CONFIDENCE :: AttributeName
- pattern AttributeName_NEGATION :: AttributeName
- pattern AttributeName_PAST_HISTORY :: AttributeName
- pattern AttributeName_PERTAINS_TO_FAMILY :: AttributeName
- pattern AttributeName_SIGN :: AttributeName
- pattern AttributeName_SYMPTOM :: AttributeName
- newtype EntitySubType where
- EntitySubType' { }
- pattern EntitySubType_ACUITY :: EntitySubType
- pattern EntitySubType_ADDRESS :: EntitySubType
- pattern EntitySubType_AGE :: EntitySubType
- pattern EntitySubType_ALCOHOL_CONSUMPTION :: EntitySubType
- pattern EntitySubType_ALLERGIES :: EntitySubType
- pattern EntitySubType_AMOUNT :: EntitySubType
- pattern EntitySubType_BRAND_NAME :: EntitySubType
- pattern EntitySubType_CONTACT_POINT :: EntitySubType
- pattern EntitySubType_DATE :: EntitySubType
- pattern EntitySubType_DIRECTION :: EntitySubType
- pattern EntitySubType_DOSAGE :: EntitySubType
- pattern EntitySubType_DURATION :: EntitySubType
- pattern EntitySubType_DX_NAME :: EntitySubType
- pattern EntitySubType_EMAIL :: EntitySubType
- pattern EntitySubType_FORM :: EntitySubType
- pattern EntitySubType_FREQUENCY :: EntitySubType
- pattern EntitySubType_GENDER :: EntitySubType
- pattern EntitySubType_GENERIC_NAME :: EntitySubType
- pattern EntitySubType_ID :: EntitySubType
- pattern EntitySubType_IDENTIFIER :: EntitySubType
- pattern EntitySubType_NAME :: EntitySubType
- pattern EntitySubType_PHONE_OR_FAX :: EntitySubType
- pattern EntitySubType_PROCEDURE_NAME :: EntitySubType
- pattern EntitySubType_PROFESSION :: EntitySubType
- pattern EntitySubType_QUALITY :: EntitySubType
- pattern EntitySubType_QUANTITY :: EntitySubType
- pattern EntitySubType_RACE_ETHNICITY :: EntitySubType
- pattern EntitySubType_RATE :: EntitySubType
- pattern EntitySubType_REC_DRUG_USE :: EntitySubType
- pattern EntitySubType_ROUTE_OR_MODE :: EntitySubType
- pattern EntitySubType_STRENGTH :: EntitySubType
- pattern EntitySubType_SYSTEM_ORGAN_SITE :: EntitySubType
- pattern EntitySubType_TEST_NAME :: EntitySubType
- pattern EntitySubType_TEST_UNIT :: EntitySubType
- pattern EntitySubType_TEST_UNITS :: EntitySubType
- pattern EntitySubType_TEST_VALUE :: EntitySubType
- pattern EntitySubType_TIME_EXPRESSION :: EntitySubType
- pattern EntitySubType_TIME_TO_DX_NAME :: EntitySubType
- pattern EntitySubType_TIME_TO_MEDICATION_NAME :: EntitySubType
- pattern EntitySubType_TIME_TO_PROCEDURE_NAME :: EntitySubType
- pattern EntitySubType_TIME_TO_TEST_NAME :: EntitySubType
- pattern EntitySubType_TIME_TO_TREATMENT_NAME :: EntitySubType
- pattern EntitySubType_TOBACCO_USE :: EntitySubType
- pattern EntitySubType_TREATMENT_NAME :: EntitySubType
- pattern EntitySubType_URL :: EntitySubType
- newtype EntityType where
- EntityType' { }
- pattern EntityType_ANATOMY :: EntityType
- pattern EntityType_BEHAVIORAL_ENVIRONMENTAL_SOCIAL :: EntityType
- pattern EntityType_MEDICAL_CONDITION :: EntityType
- pattern EntityType_MEDICATION :: EntityType
- pattern EntityType_PROTECTED_HEALTH_INFORMATION :: EntityType
- pattern EntityType_TEST_TREATMENT_PROCEDURE :: EntityType
- pattern EntityType_TIME_EXPRESSION :: EntityType
- newtype ICD10CMAttributeType where
- ICD10CMAttributeType' { }
- pattern ICD10CMAttributeType_ACUITY :: ICD10CMAttributeType
- pattern ICD10CMAttributeType_DIRECTION :: ICD10CMAttributeType
- pattern ICD10CMAttributeType_QUALITY :: ICD10CMAttributeType
- pattern ICD10CMAttributeType_QUANTITY :: ICD10CMAttributeType
- pattern ICD10CMAttributeType_SYSTEM_ORGAN_SITE :: ICD10CMAttributeType
- pattern ICD10CMAttributeType_TIME_EXPRESSION :: ICD10CMAttributeType
- pattern ICD10CMAttributeType_TIME_TO_DX_NAME :: ICD10CMAttributeType
- newtype ICD10CMEntityCategory where
- newtype ICD10CMEntityType where
- newtype ICD10CMRelationshipType where
- newtype ICD10CMTraitName where
- ICD10CMTraitName' { }
- pattern ICD10CMTraitName_DIAGNOSIS :: ICD10CMTraitName
- pattern ICD10CMTraitName_HYPOTHETICAL :: ICD10CMTraitName
- pattern ICD10CMTraitName_LOW_CONFIDENCE :: ICD10CMTraitName
- pattern ICD10CMTraitName_NEGATION :: ICD10CMTraitName
- pattern ICD10CMTraitName_PERTAINS_TO_FAMILY :: ICD10CMTraitName
- pattern ICD10CMTraitName_SIGN :: ICD10CMTraitName
- pattern ICD10CMTraitName_SYMPTOM :: ICD10CMTraitName
- newtype JobStatus where
- JobStatus' { }
- pattern JobStatus_COMPLETED :: JobStatus
- pattern JobStatus_FAILED :: JobStatus
- pattern JobStatus_IN_PROGRESS :: JobStatus
- pattern JobStatus_PARTIAL_SUCCESS :: JobStatus
- pattern JobStatus_STOPPED :: JobStatus
- pattern JobStatus_STOP_REQUESTED :: JobStatus
- pattern JobStatus_SUBMITTED :: JobStatus
- newtype LanguageCode where
- LanguageCode' { }
- pattern LanguageCode_En :: LanguageCode
- newtype RelationshipType where
- RelationshipType' { }
- pattern RelationshipType_ACUITY :: RelationshipType
- pattern RelationshipType_ADMINISTERED_VIA :: RelationshipType
- pattern RelationshipType_AMOUNT :: RelationshipType
- pattern RelationshipType_DIRECTION :: RelationshipType
- pattern RelationshipType_DOSAGE :: RelationshipType
- pattern RelationshipType_DURATION :: RelationshipType
- pattern RelationshipType_EVERY :: RelationshipType
- pattern RelationshipType_FOR :: RelationshipType
- pattern RelationshipType_FORM :: RelationshipType
- pattern RelationshipType_FREQUENCY :: RelationshipType
- pattern RelationshipType_NEGATIVE :: RelationshipType
- pattern RelationshipType_OVERLAP :: RelationshipType
- pattern RelationshipType_RATE :: RelationshipType
- pattern RelationshipType_ROUTE_OR_MODE :: RelationshipType
- pattern RelationshipType_STRENGTH :: RelationshipType
- pattern RelationshipType_SYSTEM_ORGAN_SITE :: RelationshipType
- pattern RelationshipType_TEST_UNIT :: RelationshipType
- pattern RelationshipType_TEST_UNITS :: RelationshipType
- pattern RelationshipType_TEST_VALUE :: RelationshipType
- pattern RelationshipType_WITH_DOSAGE :: RelationshipType
- newtype RxNormAttributeType where
- RxNormAttributeType' { }
- pattern RxNormAttributeType_DOSAGE :: RxNormAttributeType
- pattern RxNormAttributeType_DURATION :: RxNormAttributeType
- pattern RxNormAttributeType_FORM :: RxNormAttributeType
- pattern RxNormAttributeType_FREQUENCY :: RxNormAttributeType
- pattern RxNormAttributeType_RATE :: RxNormAttributeType
- pattern RxNormAttributeType_ROUTE_OR_MODE :: RxNormAttributeType
- pattern RxNormAttributeType_STRENGTH :: RxNormAttributeType
- newtype RxNormEntityCategory where
- newtype RxNormEntityType where
- RxNormEntityType' { }
- pattern RxNormEntityType_BRAND_NAME :: RxNormEntityType
- pattern RxNormEntityType_GENERIC_NAME :: RxNormEntityType
- newtype RxNormTraitName where
- RxNormTraitName' { }
- pattern RxNormTraitName_NEGATION :: RxNormTraitName
- newtype SNOMEDCTAttributeType where
- SNOMEDCTAttributeType' { }
- pattern SNOMEDCTAttributeType_ACUITY :: SNOMEDCTAttributeType
- pattern SNOMEDCTAttributeType_DIRECTION :: SNOMEDCTAttributeType
- pattern SNOMEDCTAttributeType_QUALITY :: SNOMEDCTAttributeType
- pattern SNOMEDCTAttributeType_SYSTEM_ORGAN_SITE :: SNOMEDCTAttributeType
- pattern SNOMEDCTAttributeType_TEST_UNIT :: SNOMEDCTAttributeType
- pattern SNOMEDCTAttributeType_TEST_VALUE :: SNOMEDCTAttributeType
- newtype SNOMEDCTEntityCategory where
- newtype SNOMEDCTEntityType where
- newtype SNOMEDCTRelationshipType where
- SNOMEDCTRelationshipType' { }
- pattern SNOMEDCTRelationshipType_ACUITY :: SNOMEDCTRelationshipType
- pattern SNOMEDCTRelationshipType_DIRECTION :: SNOMEDCTRelationshipType
- pattern SNOMEDCTRelationshipType_QUALITY :: SNOMEDCTRelationshipType
- pattern SNOMEDCTRelationshipType_SYSTEM_ORGAN_SITE :: SNOMEDCTRelationshipType
- pattern SNOMEDCTRelationshipType_TEST_UNITS :: SNOMEDCTRelationshipType
- pattern SNOMEDCTRelationshipType_TEST_VALUE :: SNOMEDCTRelationshipType
- newtype SNOMEDCTTraitName where
- SNOMEDCTTraitName' { }
- pattern SNOMEDCTTraitName_DIAGNOSIS :: SNOMEDCTTraitName
- pattern SNOMEDCTTraitName_FUTURE :: SNOMEDCTTraitName
- pattern SNOMEDCTTraitName_HYPOTHETICAL :: SNOMEDCTTraitName
- pattern SNOMEDCTTraitName_LOW_CONFIDENCE :: SNOMEDCTTraitName
- pattern SNOMEDCTTraitName_NEGATION :: SNOMEDCTTraitName
- pattern SNOMEDCTTraitName_PAST_HISTORY :: SNOMEDCTTraitName
- pattern SNOMEDCTTraitName_PERTAINS_TO_FAMILY :: SNOMEDCTTraitName
- pattern SNOMEDCTTraitName_SIGN :: SNOMEDCTTraitName
- pattern SNOMEDCTTraitName_SYMPTOM :: SNOMEDCTTraitName
- data Attribute = Attribute' {
- beginOffset :: Maybe Int
- category :: Maybe EntityType
- endOffset :: Maybe Int
- id :: Maybe Int
- relationshipScore :: Maybe Double
- relationshipType :: Maybe RelationshipType
- score :: Maybe Double
- text :: Maybe Text
- traits :: Maybe [Trait]
- type' :: Maybe EntitySubType
- newAttribute :: Attribute
- attribute_beginOffset :: Lens' Attribute (Maybe Int)
- attribute_category :: Lens' Attribute (Maybe EntityType)
- attribute_endOffset :: Lens' Attribute (Maybe Int)
- attribute_id :: Lens' Attribute (Maybe Int)
- attribute_relationshipScore :: Lens' Attribute (Maybe Double)
- attribute_relationshipType :: Lens' Attribute (Maybe RelationshipType)
- attribute_score :: Lens' Attribute (Maybe Double)
- attribute_text :: Lens' Attribute (Maybe Text)
- attribute_traits :: Lens' Attribute (Maybe [Trait])
- attribute_type :: Lens' Attribute (Maybe EntitySubType)
- data Characters = Characters' {}
- newCharacters :: Characters
- characters_originalTextCharacters :: Lens' Characters (Maybe Int)
- data ComprehendMedicalAsyncJobFilter = ComprehendMedicalAsyncJobFilter' {}
- newComprehendMedicalAsyncJobFilter :: ComprehendMedicalAsyncJobFilter
- comprehendMedicalAsyncJobFilter_jobName :: Lens' ComprehendMedicalAsyncJobFilter (Maybe Text)
- comprehendMedicalAsyncJobFilter_jobStatus :: Lens' ComprehendMedicalAsyncJobFilter (Maybe JobStatus)
- comprehendMedicalAsyncJobFilter_submitTimeAfter :: Lens' ComprehendMedicalAsyncJobFilter (Maybe UTCTime)
- comprehendMedicalAsyncJobFilter_submitTimeBefore :: Lens' ComprehendMedicalAsyncJobFilter (Maybe UTCTime)
- data ComprehendMedicalAsyncJobProperties = ComprehendMedicalAsyncJobProperties' {
- dataAccessRoleArn :: Maybe Text
- endTime :: Maybe POSIX
- expirationTime :: Maybe POSIX
- inputDataConfig :: Maybe InputDataConfig
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobStatus :: Maybe JobStatus
- kmsKey :: Maybe Text
- languageCode :: Maybe LanguageCode
- manifestFilePath :: Maybe Text
- message :: Maybe Text
- modelVersion :: Maybe Text
- outputDataConfig :: Maybe OutputDataConfig
- submitTime :: Maybe POSIX
- newComprehendMedicalAsyncJobProperties :: ComprehendMedicalAsyncJobProperties
- comprehendMedicalAsyncJobProperties_dataAccessRoleArn :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text)
- comprehendMedicalAsyncJobProperties_endTime :: Lens' ComprehendMedicalAsyncJobProperties (Maybe UTCTime)
- comprehendMedicalAsyncJobProperties_expirationTime :: Lens' ComprehendMedicalAsyncJobProperties (Maybe UTCTime)
- comprehendMedicalAsyncJobProperties_inputDataConfig :: Lens' ComprehendMedicalAsyncJobProperties (Maybe InputDataConfig)
- comprehendMedicalAsyncJobProperties_jobId :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text)
- comprehendMedicalAsyncJobProperties_jobName :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text)
- comprehendMedicalAsyncJobProperties_jobStatus :: Lens' ComprehendMedicalAsyncJobProperties (Maybe JobStatus)
- comprehendMedicalAsyncJobProperties_kmsKey :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text)
- comprehendMedicalAsyncJobProperties_languageCode :: Lens' ComprehendMedicalAsyncJobProperties (Maybe LanguageCode)
- comprehendMedicalAsyncJobProperties_manifestFilePath :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text)
- comprehendMedicalAsyncJobProperties_message :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text)
- comprehendMedicalAsyncJobProperties_modelVersion :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text)
- comprehendMedicalAsyncJobProperties_outputDataConfig :: Lens' ComprehendMedicalAsyncJobProperties (Maybe OutputDataConfig)
- comprehendMedicalAsyncJobProperties_submitTime :: Lens' ComprehendMedicalAsyncJobProperties (Maybe UTCTime)
- data Entity = Entity' {}
- newEntity :: Entity
- entity_attributes :: Lens' Entity (Maybe [Attribute])
- entity_beginOffset :: Lens' Entity (Maybe Int)
- entity_category :: Lens' Entity (Maybe EntityType)
- entity_endOffset :: Lens' Entity (Maybe Int)
- entity_id :: Lens' Entity (Maybe Int)
- entity_score :: Lens' Entity (Maybe Double)
- entity_text :: Lens' Entity (Maybe Text)
- entity_traits :: Lens' Entity (Maybe [Trait])
- entity_type :: Lens' Entity (Maybe EntitySubType)
- data ICD10CMAttribute = ICD10CMAttribute' {}
- newICD10CMAttribute :: ICD10CMAttribute
- iCD10CMAttribute_beginOffset :: Lens' ICD10CMAttribute (Maybe Int)
- iCD10CMAttribute_category :: Lens' ICD10CMAttribute (Maybe ICD10CMEntityType)
- iCD10CMAttribute_endOffset :: Lens' ICD10CMAttribute (Maybe Int)
- iCD10CMAttribute_id :: Lens' ICD10CMAttribute (Maybe Int)
- iCD10CMAttribute_relationshipScore :: Lens' ICD10CMAttribute (Maybe Double)
- iCD10CMAttribute_relationshipType :: Lens' ICD10CMAttribute (Maybe ICD10CMRelationshipType)
- iCD10CMAttribute_score :: Lens' ICD10CMAttribute (Maybe Double)
- iCD10CMAttribute_text :: Lens' ICD10CMAttribute (Maybe Text)
- iCD10CMAttribute_traits :: Lens' ICD10CMAttribute (Maybe [ICD10CMTrait])
- iCD10CMAttribute_type :: Lens' ICD10CMAttribute (Maybe ICD10CMAttributeType)
- data ICD10CMConcept = ICD10CMConcept' {}
- newICD10CMConcept :: ICD10CMConcept
- iCD10CMConcept_code :: Lens' ICD10CMConcept (Maybe Text)
- iCD10CMConcept_description :: Lens' ICD10CMConcept (Maybe Text)
- iCD10CMConcept_score :: Lens' ICD10CMConcept (Maybe Double)
- data ICD10CMEntity = ICD10CMEntity' {
- attributes :: Maybe [ICD10CMAttribute]
- beginOffset :: Maybe Int
- category :: Maybe ICD10CMEntityCategory
- endOffset :: Maybe Int
- iCD10CMConcepts :: Maybe [ICD10CMConcept]
- id :: Maybe Int
- score :: Maybe Double
- text :: Maybe Text
- traits :: Maybe [ICD10CMTrait]
- type' :: Maybe ICD10CMEntityType
- newICD10CMEntity :: ICD10CMEntity
- iCD10CMEntity_attributes :: Lens' ICD10CMEntity (Maybe [ICD10CMAttribute])
- iCD10CMEntity_beginOffset :: Lens' ICD10CMEntity (Maybe Int)
- iCD10CMEntity_category :: Lens' ICD10CMEntity (Maybe ICD10CMEntityCategory)
- iCD10CMEntity_endOffset :: Lens' ICD10CMEntity (Maybe Int)
- iCD10CMEntity_iCD10CMConcepts :: Lens' ICD10CMEntity (Maybe [ICD10CMConcept])
- iCD10CMEntity_id :: Lens' ICD10CMEntity (Maybe Int)
- iCD10CMEntity_score :: Lens' ICD10CMEntity (Maybe Double)
- iCD10CMEntity_text :: Lens' ICD10CMEntity (Maybe Text)
- iCD10CMEntity_traits :: Lens' ICD10CMEntity (Maybe [ICD10CMTrait])
- iCD10CMEntity_type :: Lens' ICD10CMEntity (Maybe ICD10CMEntityType)
- data ICD10CMTrait = ICD10CMTrait' {}
- newICD10CMTrait :: ICD10CMTrait
- iCD10CMTrait_name :: Lens' ICD10CMTrait (Maybe ICD10CMTraitName)
- iCD10CMTrait_score :: Lens' ICD10CMTrait (Maybe Double)
- data InputDataConfig = InputDataConfig' {}
- newInputDataConfig :: Text -> InputDataConfig
- inputDataConfig_s3Key :: Lens' InputDataConfig (Maybe Text)
- inputDataConfig_s3Bucket :: Lens' InputDataConfig Text
- data OutputDataConfig = OutputDataConfig' {}
- newOutputDataConfig :: Text -> OutputDataConfig
- outputDataConfig_s3Key :: Lens' OutputDataConfig (Maybe Text)
- outputDataConfig_s3Bucket :: Lens' OutputDataConfig Text
- data RxNormAttribute = RxNormAttribute' {}
- newRxNormAttribute :: RxNormAttribute
- rxNormAttribute_beginOffset :: Lens' RxNormAttribute (Maybe Int)
- rxNormAttribute_endOffset :: Lens' RxNormAttribute (Maybe Int)
- rxNormAttribute_id :: Lens' RxNormAttribute (Maybe Int)
- rxNormAttribute_relationshipScore :: Lens' RxNormAttribute (Maybe Double)
- rxNormAttribute_score :: Lens' RxNormAttribute (Maybe Double)
- rxNormAttribute_text :: Lens' RxNormAttribute (Maybe Text)
- rxNormAttribute_traits :: Lens' RxNormAttribute (Maybe [RxNormTrait])
- rxNormAttribute_type :: Lens' RxNormAttribute (Maybe RxNormAttributeType)
- data RxNormConcept = RxNormConcept' {}
- newRxNormConcept :: RxNormConcept
- rxNormConcept_code :: Lens' RxNormConcept (Maybe Text)
- rxNormConcept_description :: Lens' RxNormConcept (Maybe Text)
- rxNormConcept_score :: Lens' RxNormConcept (Maybe Double)
- data RxNormEntity = RxNormEntity' {
- attributes :: Maybe [RxNormAttribute]
- beginOffset :: Maybe Int
- category :: Maybe RxNormEntityCategory
- endOffset :: Maybe Int
- id :: Maybe Int
- rxNormConcepts :: Maybe [RxNormConcept]
- score :: Maybe Double
- text :: Maybe Text
- traits :: Maybe [RxNormTrait]
- type' :: Maybe RxNormEntityType
- newRxNormEntity :: RxNormEntity
- rxNormEntity_attributes :: Lens' RxNormEntity (Maybe [RxNormAttribute])
- rxNormEntity_beginOffset :: Lens' RxNormEntity (Maybe Int)
- rxNormEntity_category :: Lens' RxNormEntity (Maybe RxNormEntityCategory)
- rxNormEntity_endOffset :: Lens' RxNormEntity (Maybe Int)
- rxNormEntity_id :: Lens' RxNormEntity (Maybe Int)
- rxNormEntity_rxNormConcepts :: Lens' RxNormEntity (Maybe [RxNormConcept])
- rxNormEntity_score :: Lens' RxNormEntity (Maybe Double)
- rxNormEntity_text :: Lens' RxNormEntity (Maybe Text)
- rxNormEntity_traits :: Lens' RxNormEntity (Maybe [RxNormTrait])
- rxNormEntity_type :: Lens' RxNormEntity (Maybe RxNormEntityType)
- data RxNormTrait = RxNormTrait' {}
- newRxNormTrait :: RxNormTrait
- rxNormTrait_name :: Lens' RxNormTrait (Maybe RxNormTraitName)
- rxNormTrait_score :: Lens' RxNormTrait (Maybe Double)
- data SNOMEDCTAttribute = SNOMEDCTAttribute' {
- beginOffset :: Maybe Int
- category :: Maybe SNOMEDCTEntityCategory
- endOffset :: Maybe Int
- id :: Maybe Int
- relationshipScore :: Maybe Double
- relationshipType :: Maybe SNOMEDCTRelationshipType
- sNOMEDCTConcepts :: Maybe [SNOMEDCTConcept]
- score :: Maybe Double
- text :: Maybe Text
- traits :: Maybe [SNOMEDCTTrait]
- type' :: Maybe SNOMEDCTAttributeType
- newSNOMEDCTAttribute :: SNOMEDCTAttribute
- sNOMEDCTAttribute_beginOffset :: Lens' SNOMEDCTAttribute (Maybe Int)
- sNOMEDCTAttribute_category :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTEntityCategory)
- sNOMEDCTAttribute_endOffset :: Lens' SNOMEDCTAttribute (Maybe Int)
- sNOMEDCTAttribute_id :: Lens' SNOMEDCTAttribute (Maybe Int)
- sNOMEDCTAttribute_relationshipScore :: Lens' SNOMEDCTAttribute (Maybe Double)
- sNOMEDCTAttribute_relationshipType :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTRelationshipType)
- sNOMEDCTAttribute_sNOMEDCTConcepts :: Lens' SNOMEDCTAttribute (Maybe [SNOMEDCTConcept])
- sNOMEDCTAttribute_score :: Lens' SNOMEDCTAttribute (Maybe Double)
- sNOMEDCTAttribute_text :: Lens' SNOMEDCTAttribute (Maybe Text)
- sNOMEDCTAttribute_traits :: Lens' SNOMEDCTAttribute (Maybe [SNOMEDCTTrait])
- sNOMEDCTAttribute_type :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTAttributeType)
- data SNOMEDCTConcept = SNOMEDCTConcept' {}
- newSNOMEDCTConcept :: SNOMEDCTConcept
- sNOMEDCTConcept_code :: Lens' SNOMEDCTConcept (Maybe Text)
- sNOMEDCTConcept_description :: Lens' SNOMEDCTConcept (Maybe Text)
- sNOMEDCTConcept_score :: Lens' SNOMEDCTConcept (Maybe Double)
- data SNOMEDCTDetails = SNOMEDCTDetails' {}
- newSNOMEDCTDetails :: SNOMEDCTDetails
- sNOMEDCTDetails_edition :: Lens' SNOMEDCTDetails (Maybe Text)
- sNOMEDCTDetails_language :: Lens' SNOMEDCTDetails (Maybe Text)
- sNOMEDCTDetails_versionDate :: Lens' SNOMEDCTDetails (Maybe Text)
- data SNOMEDCTEntity = SNOMEDCTEntity' {}
- newSNOMEDCTEntity :: SNOMEDCTEntity
- sNOMEDCTEntity_attributes :: Lens' SNOMEDCTEntity (Maybe [SNOMEDCTAttribute])
- sNOMEDCTEntity_beginOffset :: Lens' SNOMEDCTEntity (Maybe Int)
- sNOMEDCTEntity_category :: Lens' SNOMEDCTEntity (Maybe SNOMEDCTEntityCategory)
- sNOMEDCTEntity_endOffset :: Lens' SNOMEDCTEntity (Maybe Int)
- sNOMEDCTEntity_id :: Lens' SNOMEDCTEntity (Maybe Int)
- sNOMEDCTEntity_sNOMEDCTConcepts :: Lens' SNOMEDCTEntity (Maybe [SNOMEDCTConcept])
- sNOMEDCTEntity_score :: Lens' SNOMEDCTEntity (Maybe Double)
- sNOMEDCTEntity_text :: Lens' SNOMEDCTEntity (Maybe Text)
- sNOMEDCTEntity_traits :: Lens' SNOMEDCTEntity (Maybe [SNOMEDCTTrait])
- sNOMEDCTEntity_type :: Lens' SNOMEDCTEntity (Maybe SNOMEDCTEntityType)
- data SNOMEDCTTrait = SNOMEDCTTrait' {}
- newSNOMEDCTTrait :: SNOMEDCTTrait
- sNOMEDCTTrait_name :: Lens' SNOMEDCTTrait (Maybe SNOMEDCTTraitName)
- sNOMEDCTTrait_score :: Lens' SNOMEDCTTrait (Maybe Double)
- data Trait = Trait' {}
- newTrait :: Trait
- trait_name :: Lens' Trait (Maybe AttributeName)
- trait_score :: Lens' Trait (Maybe Double)
- data UnmappedAttribute = UnmappedAttribute' {}
- newUnmappedAttribute :: UnmappedAttribute
- unmappedAttribute_attribute :: Lens' UnmappedAttribute (Maybe Attribute)
- unmappedAttribute_type :: Lens' UnmappedAttribute (Maybe EntityType)
Service Configuration
defaultService :: Service Source #
API version 2018-10-30
of the Amazon Comprehend Medical SDK configuration.
Errors
_InternalServerException :: AsError a => Fold a ServiceError Source #
An internal server error occurred. Retry your request.
_InvalidEncodingException :: AsError a => Fold a ServiceError Source #
The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
_InvalidRequestException :: AsError a => Fold a ServiceError Source #
The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #
The Comprehend Medical; service is temporarily unavailable. Please wait and then retry your request.
_TextSizeLimitExceededException :: AsError a => Fold a ServiceError Source #
The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
_TooManyRequestsException :: AsError a => Fold a ServiceError Source #
You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
_ValidationException :: AsError a => Fold a ServiceError Source #
The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
AttributeName
newtype AttributeName Source #
pattern AttributeName_DIAGNOSIS :: AttributeName | |
pattern AttributeName_FUTURE :: AttributeName | |
pattern AttributeName_HYPOTHETICAL :: AttributeName | |
pattern AttributeName_LOW_CONFIDENCE :: AttributeName | |
pattern AttributeName_NEGATION :: AttributeName | |
pattern AttributeName_PAST_HISTORY :: AttributeName | |
pattern AttributeName_PERTAINS_TO_FAMILY :: AttributeName | |
pattern AttributeName_SIGN :: AttributeName | |
pattern AttributeName_SYMPTOM :: AttributeName |
Instances
EntitySubType
newtype EntitySubType Source #
Instances
EntityType
newtype EntityType Source #
pattern EntityType_ANATOMY :: EntityType | |
pattern EntityType_BEHAVIORAL_ENVIRONMENTAL_SOCIAL :: EntityType | |
pattern EntityType_MEDICAL_CONDITION :: EntityType | |
pattern EntityType_MEDICATION :: EntityType | |
pattern EntityType_PROTECTED_HEALTH_INFORMATION :: EntityType | |
pattern EntityType_TEST_TREATMENT_PROCEDURE :: EntityType | |
pattern EntityType_TIME_EXPRESSION :: EntityType |
Instances
ICD10CMAttributeType
newtype ICD10CMAttributeType Source #
Instances
ICD10CMEntityCategory
newtype ICD10CMEntityCategory Source #
Instances
ICD10CMEntityType
newtype ICD10CMEntityType Source #
pattern ICD10CMEntityType_DX_NAME :: ICD10CMEntityType | |
pattern ICD10CMEntityType_TIME_EXPRESSION :: ICD10CMEntityType |
Instances
ICD10CMRelationshipType
newtype ICD10CMRelationshipType Source #
pattern ICD10CMRelationshipType_OVERLAP :: ICD10CMRelationshipType | |
pattern ICD10CMRelationshipType_SYSTEM_ORGAN_SITE :: ICD10CMRelationshipType |
Instances
ICD10CMTraitName
newtype ICD10CMTraitName Source #
pattern ICD10CMTraitName_DIAGNOSIS :: ICD10CMTraitName | |
pattern ICD10CMTraitName_HYPOTHETICAL :: ICD10CMTraitName | |
pattern ICD10CMTraitName_LOW_CONFIDENCE :: ICD10CMTraitName | |
pattern ICD10CMTraitName_NEGATION :: ICD10CMTraitName | |
pattern ICD10CMTraitName_PERTAINS_TO_FAMILY :: ICD10CMTraitName | |
pattern ICD10CMTraitName_SIGN :: ICD10CMTraitName | |
pattern ICD10CMTraitName_SYMPTOM :: ICD10CMTraitName |
Instances
JobStatus
pattern JobStatus_COMPLETED :: JobStatus | |
pattern JobStatus_FAILED :: JobStatus | |
pattern JobStatus_IN_PROGRESS :: JobStatus | |
pattern JobStatus_PARTIAL_SUCCESS :: JobStatus | |
pattern JobStatus_STOPPED :: JobStatus | |
pattern JobStatus_STOP_REQUESTED :: JobStatus | |
pattern JobStatus_SUBMITTED :: JobStatus |
Instances
LanguageCode
newtype LanguageCode Source #
pattern LanguageCode_En :: LanguageCode |
Instances
RelationshipType
newtype RelationshipType Source #
Instances
RxNormAttributeType
newtype RxNormAttributeType Source #
pattern RxNormAttributeType_DOSAGE :: RxNormAttributeType | |
pattern RxNormAttributeType_DURATION :: RxNormAttributeType | |
pattern RxNormAttributeType_FORM :: RxNormAttributeType | |
pattern RxNormAttributeType_FREQUENCY :: RxNormAttributeType | |
pattern RxNormAttributeType_RATE :: RxNormAttributeType | |
pattern RxNormAttributeType_ROUTE_OR_MODE :: RxNormAttributeType | |
pattern RxNormAttributeType_STRENGTH :: RxNormAttributeType |
Instances
RxNormEntityCategory
newtype RxNormEntityCategory Source #
Instances
RxNormEntityType
newtype RxNormEntityType Source #
pattern RxNormEntityType_BRAND_NAME :: RxNormEntityType | |
pattern RxNormEntityType_GENERIC_NAME :: RxNormEntityType |
Instances
RxNormTraitName
newtype RxNormTraitName Source #
pattern RxNormTraitName_NEGATION :: RxNormTraitName |
Instances
SNOMEDCTAttributeType
newtype SNOMEDCTAttributeType Source #
Instances
SNOMEDCTEntityCategory
newtype SNOMEDCTEntityCategory Source #
Instances
SNOMEDCTEntityType
newtype SNOMEDCTEntityType Source #
pattern SNOMEDCTEntityType_DX_NAME :: SNOMEDCTEntityType | |
pattern SNOMEDCTEntityType_PROCEDURE_NAME :: SNOMEDCTEntityType | |
pattern SNOMEDCTEntityType_TEST_NAME :: SNOMEDCTEntityType | |
pattern SNOMEDCTEntityType_TREATMENT_NAME :: SNOMEDCTEntityType |
Instances
SNOMEDCTRelationshipType
newtype SNOMEDCTRelationshipType Source #
Instances
SNOMEDCTTraitName
newtype SNOMEDCTTraitName Source #
pattern SNOMEDCTTraitName_DIAGNOSIS :: SNOMEDCTTraitName | |
pattern SNOMEDCTTraitName_FUTURE :: SNOMEDCTTraitName | |
pattern SNOMEDCTTraitName_HYPOTHETICAL :: SNOMEDCTTraitName | |
pattern SNOMEDCTTraitName_LOW_CONFIDENCE :: SNOMEDCTTraitName | |
pattern SNOMEDCTTraitName_NEGATION :: SNOMEDCTTraitName | |
pattern SNOMEDCTTraitName_PAST_HISTORY :: SNOMEDCTTraitName | |
pattern SNOMEDCTTraitName_PERTAINS_TO_FAMILY :: SNOMEDCTTraitName | |
pattern SNOMEDCTTraitName_SIGN :: SNOMEDCTTraitName | |
pattern SNOMEDCTTraitName_SYMPTOM :: SNOMEDCTTraitName |
Instances
Attribute
An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken. It contains information about the attribute such as id, begin and end offset within the input text, and the segment of the input text.
See: newAttribute
smart constructor.
Attribute' | |
|
Instances
newAttribute :: Attribute Source #
Create a value of Attribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:beginOffset:Attribute'
, attribute_beginOffset
- The 0-based character offset in the input text that shows where the
attribute begins. The offset returns the UTF-8 code point in the string.
$sel:category:Attribute'
, attribute_category
- The category of attribute.
$sel:endOffset:Attribute'
, attribute_endOffset
- The 0-based character offset in the input text that shows where the
attribute ends. The offset returns the UTF-8 code point in the string.
$sel:id:Attribute'
, attribute_id
- The numeric identifier for this attribute. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.
$sel:relationshipScore:Attribute'
, attribute_relationshipScore
- The level of confidence that Comprehend Medical; has that this attribute
is correctly related to this entity.
$sel:relationshipType:Attribute'
, attribute_relationshipType
- The type of relationship between the entity and attribute. Type for the
relationship is OVERLAP
, indicating that the entity occurred at the
same time as the Date_Expression
.
Attribute
, attribute_score
- The level of confidence that Comprehend Medical; has that the segment of
text is correctly recognized as an attribute.
$sel:text:Attribute'
, attribute_text
- The segment of input text extracted as this attribute.
$sel:traits:Attribute'
, attribute_traits
- Contextual information for this attribute.
$sel:type':Attribute'
, attribute_type
- The type of attribute.
attribute_beginOffset :: Lens' Attribute (Maybe Int) Source #
The 0-based character offset in the input text that shows where the attribute begins. The offset returns the UTF-8 code point in the string.
attribute_category :: Lens' Attribute (Maybe EntityType) Source #
The category of attribute.
attribute_endOffset :: Lens' Attribute (Maybe Int) Source #
The 0-based character offset in the input text that shows where the attribute ends. The offset returns the UTF-8 code point in the string.
attribute_id :: Lens' Attribute (Maybe Int) Source #
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
attribute_relationshipScore :: Lens' Attribute (Maybe Double) Source #
The level of confidence that Comprehend Medical; has that this attribute is correctly related to this entity.
attribute_relationshipType :: Lens' Attribute (Maybe RelationshipType) Source #
The type of relationship between the entity and attribute. Type for the
relationship is OVERLAP
, indicating that the entity occurred at the
same time as the Date_Expression
.
attribute_score :: Lens' Attribute (Maybe Double) Source #
The level of confidence that Comprehend Medical; has that the segment of text is correctly recognized as an attribute.
attribute_text :: Lens' Attribute (Maybe Text) Source #
The segment of input text extracted as this attribute.
attribute_traits :: Lens' Attribute (Maybe [Trait]) Source #
Contextual information for this attribute.
attribute_type :: Lens' Attribute (Maybe EntitySubType) Source #
The type of attribute.
Characters
data Characters Source #
The number of characters in the input text to be analyzed.
See: newCharacters
smart constructor.
Characters' | |
|
Instances
newCharacters :: Characters Source #
Create a value of Characters
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:originalTextCharacters:Characters'
, characters_originalTextCharacters
- The number of characters present in the input text document as processed
by Comprehend Medical.
characters_originalTextCharacters :: Lens' Characters (Maybe Int) Source #
The number of characters present in the input text document as processed by Comprehend Medical.
ComprehendMedicalAsyncJobFilter
data ComprehendMedicalAsyncJobFilter Source #
Provides information for filtering a list of detection jobs.
See: newComprehendMedicalAsyncJobFilter
smart constructor.
ComprehendMedicalAsyncJobFilter' | |
|
Instances
newComprehendMedicalAsyncJobFilter :: ComprehendMedicalAsyncJobFilter Source #
Create a value of ComprehendMedicalAsyncJobFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:jobName:ComprehendMedicalAsyncJobFilter'
, comprehendMedicalAsyncJobFilter_jobName
- Filters on the name of the job.
$sel:jobStatus:ComprehendMedicalAsyncJobFilter'
, comprehendMedicalAsyncJobFilter_jobStatus
- Filters the list of jobs based on job status. Returns only jobs with the
specified status.
$sel:submitTimeAfter:ComprehendMedicalAsyncJobFilter'
, comprehendMedicalAsyncJobFilter_submitTimeAfter
- Filters the list of jobs based on the time that the job was submitted
for processing. Returns only jobs submitted after the specified time.
Jobs are returned in descending order, newest to oldest.
$sel:submitTimeBefore:ComprehendMedicalAsyncJobFilter'
, comprehendMedicalAsyncJobFilter_submitTimeBefore
- Filters the list of jobs based on the time that the job was submitted
for processing. Returns only jobs submitted before the specified time.
Jobs are returned in ascending order, oldest to newest.
comprehendMedicalAsyncJobFilter_jobName :: Lens' ComprehendMedicalAsyncJobFilter (Maybe Text) Source #
Filters on the name of the job.
comprehendMedicalAsyncJobFilter_jobStatus :: Lens' ComprehendMedicalAsyncJobFilter (Maybe JobStatus) Source #
Filters the list of jobs based on job status. Returns only jobs with the specified status.
comprehendMedicalAsyncJobFilter_submitTimeAfter :: Lens' ComprehendMedicalAsyncJobFilter (Maybe UTCTime) Source #
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
comprehendMedicalAsyncJobFilter_submitTimeBefore :: Lens' ComprehendMedicalAsyncJobFilter (Maybe UTCTime) Source #
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
ComprehendMedicalAsyncJobProperties
data ComprehendMedicalAsyncJobProperties Source #
Provides information about a detection job.
See: newComprehendMedicalAsyncJobProperties
smart constructor.
ComprehendMedicalAsyncJobProperties' | |
|
Instances
newComprehendMedicalAsyncJobProperties :: ComprehendMedicalAsyncJobProperties Source #
Create a value of ComprehendMedicalAsyncJobProperties
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dataAccessRoleArn:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_dataAccessRoleArn
- The Amazon Resource Name (ARN) that gives Comprehend Medical; read
access to your input data.
$sel:endTime:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_endTime
- The time that the detection job completed.
$sel:expirationTime:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_expirationTime
- The date and time that job metadata is deleted from the server. Output
files in your S3 bucket will not be deleted. After the metadata is
deleted, the job will no longer appear in the results of the
ListEntitiesDetectionV2Job
or the ListPHIDetectionJobs
operation.
$sel:inputDataConfig:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_inputDataConfig
- The input data configuration that you supplied when you created the
detection job.
$sel:jobId:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_jobId
- The identifier assigned to the detection job.
$sel:jobName:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_jobName
- The name that you assigned to the detection job.
$sel:jobStatus:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_jobStatus
- The current status of the detection job. If the status is FAILED
, the
Message
field shows the reason for the failure.
$sel:kmsKey:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_kmsKey
- The AWS Key Management Service key, if any, used to encrypt the output
files.
$sel:languageCode:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_languageCode
- The language code of the input documents.
$sel:manifestFilePath:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_manifestFilePath
- The path to the file that describes the results of a batch job.
$sel:message:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_message
- A description of the status of a job.
$sel:modelVersion:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_modelVersion
- The version of the model used to analyze the documents. The version
number looks like X.X.X. You can use this information to track the model
used for a particular batch of documents.
$sel:outputDataConfig:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_outputDataConfig
- The output data configuration that you supplied when you created the
detection job.
$sel:submitTime:ComprehendMedicalAsyncJobProperties'
, comprehendMedicalAsyncJobProperties_submitTime
- The time that the detection job was submitted for processing.
comprehendMedicalAsyncJobProperties_dataAccessRoleArn :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) that gives Comprehend Medical; read access to your input data.
comprehendMedicalAsyncJobProperties_endTime :: Lens' ComprehendMedicalAsyncJobProperties (Maybe UTCTime) Source #
The time that the detection job completed.
comprehendMedicalAsyncJobProperties_expirationTime :: Lens' ComprehendMedicalAsyncJobProperties (Maybe UTCTime) Source #
The date and time that job metadata is deleted from the server. Output
files in your S3 bucket will not be deleted. After the metadata is
deleted, the job will no longer appear in the results of the
ListEntitiesDetectionV2Job
or the ListPHIDetectionJobs
operation.
comprehendMedicalAsyncJobProperties_inputDataConfig :: Lens' ComprehendMedicalAsyncJobProperties (Maybe InputDataConfig) Source #
The input data configuration that you supplied when you created the detection job.
comprehendMedicalAsyncJobProperties_jobId :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text) Source #
The identifier assigned to the detection job.
comprehendMedicalAsyncJobProperties_jobName :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text) Source #
The name that you assigned to the detection job.
comprehendMedicalAsyncJobProperties_jobStatus :: Lens' ComprehendMedicalAsyncJobProperties (Maybe JobStatus) Source #
The current status of the detection job. If the status is FAILED
, the
Message
field shows the reason for the failure.
comprehendMedicalAsyncJobProperties_kmsKey :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text) Source #
The AWS Key Management Service key, if any, used to encrypt the output files.
comprehendMedicalAsyncJobProperties_languageCode :: Lens' ComprehendMedicalAsyncJobProperties (Maybe LanguageCode) Source #
The language code of the input documents.
comprehendMedicalAsyncJobProperties_manifestFilePath :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text) Source #
The path to the file that describes the results of a batch job.
comprehendMedicalAsyncJobProperties_message :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text) Source #
A description of the status of a job.
comprehendMedicalAsyncJobProperties_modelVersion :: Lens' ComprehendMedicalAsyncJobProperties (Maybe Text) Source #
The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.
comprehendMedicalAsyncJobProperties_outputDataConfig :: Lens' ComprehendMedicalAsyncJobProperties (Maybe OutputDataConfig) Source #
The output data configuration that you supplied when you created the detection job.
comprehendMedicalAsyncJobProperties_submitTime :: Lens' ComprehendMedicalAsyncJobProperties (Maybe UTCTime) Source #
The time that the detection job was submitted for processing.
Entity
Provides information about an extracted medical entity.
See: newEntity
smart constructor.
Entity' | |
|
Instances
Create a value of Entity
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:Entity'
, entity_attributes
- The extracted attributes that relate to this entity.
Entity
, entity_beginOffset
- The 0-based character offset in the input text that shows where the
entity begins. The offset returns the UTF-8 code point in the string.
Entity
, entity_category
- The category of the entity.
Entity
, entity_endOffset
- The 0-based character offset in the input text that shows where the
entity ends. The offset returns the UTF-8 code point in the string.
Entity
, entity_id
- The numeric identifier for the entity. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.
Entity
, entity_score
- The level of confidence that Comprehend Medical; has in the accuracy of
the detection.
Entity
, entity_text
- The segment of input text extracted as this entity.
Entity
, entity_traits
- Contextual information for the entity.
Entity
, entity_type
- Describes the specific type of entity with category of entities.
entity_attributes :: Lens' Entity (Maybe [Attribute]) Source #
The extracted attributes that relate to this entity.
entity_beginOffset :: Lens' Entity (Maybe Int) Source #
The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
entity_category :: Lens' Entity (Maybe EntityType) Source #
The category of the entity.
entity_endOffset :: Lens' Entity (Maybe Int) Source #
The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.
entity_id :: Lens' Entity (Maybe Int) Source #
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
entity_score :: Lens' Entity (Maybe Double) Source #
The level of confidence that Comprehend Medical; has in the accuracy of the detection.
entity_text :: Lens' Entity (Maybe Text) Source #
The segment of input text extracted as this entity.
entity_type :: Lens' Entity (Maybe EntitySubType) Source #
Describes the specific type of entity with category of entities.
ICD10CMAttribute
data ICD10CMAttribute Source #
The detected attributes that relate to an entity. This includes an
extracted segment of the text that is an attribute of an entity, or
otherwise related to an entity. InferICD10CM detects the following
attributes: Direction
, System, Organ or Site
, and Acuity
.
See: newICD10CMAttribute
smart constructor.
ICD10CMAttribute' | |
|
Instances
newICD10CMAttribute :: ICD10CMAttribute Source #
Create a value of ICD10CMAttribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:beginOffset:ICD10CMAttribute'
, iCD10CMAttribute_beginOffset
- The 0-based character offset in the input text that shows where the
attribute begins. The offset returns the UTF-8 code point in the string.
$sel:category:ICD10CMAttribute'
, iCD10CMAttribute_category
- The category of attribute. Can be either of DX_NAME
or
TIME_EXPRESSION
.
$sel:endOffset:ICD10CMAttribute'
, iCD10CMAttribute_endOffset
- The 0-based character offset in the input text that shows where the
attribute ends. The offset returns the UTF-8 code point in the string.
$sel:id:ICD10CMAttribute'
, iCD10CMAttribute_id
- The numeric identifier for this attribute. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.
$sel:relationshipScore:ICD10CMAttribute'
, iCD10CMAttribute_relationshipScore
- The level of confidence that Amazon Comprehend Medical has that this
attribute is correctly related to this entity.
$sel:relationshipType:ICD10CMAttribute'
, iCD10CMAttribute_relationshipType
- The type of relationship between the entity and attribute. Type for the
relationship can be either of OVERLAP
or SYSTEM_ORGAN_SITE
.
ICD10CMAttribute
, iCD10CMAttribute_score
- The level of confidence that Amazon Comprehend Medical has that the
segment of text is correctly recognized as an attribute.
$sel:text:ICD10CMAttribute'
, iCD10CMAttribute_text
- The segment of input text which contains the detected attribute.
$sel:traits:ICD10CMAttribute'
, iCD10CMAttribute_traits
- The contextual information for the attribute. The traits recognized by
InferICD10CM are DIAGNOSIS
, SIGN
, SYMPTOM
, and NEGATION
.
$sel:type':ICD10CMAttribute'
, iCD10CMAttribute_type
- The type of attribute. InferICD10CM detects entities of the type
DX_NAME
.
iCD10CMAttribute_beginOffset :: Lens' ICD10CMAttribute (Maybe Int) Source #
The 0-based character offset in the input text that shows where the attribute begins. The offset returns the UTF-8 code point in the string.
iCD10CMAttribute_category :: Lens' ICD10CMAttribute (Maybe ICD10CMEntityType) Source #
The category of attribute. Can be either of DX_NAME
or
TIME_EXPRESSION
.
iCD10CMAttribute_endOffset :: Lens' ICD10CMAttribute (Maybe Int) Source #
The 0-based character offset in the input text that shows where the attribute ends. The offset returns the UTF-8 code point in the string.
iCD10CMAttribute_id :: Lens' ICD10CMAttribute (Maybe Int) Source #
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
iCD10CMAttribute_relationshipScore :: Lens' ICD10CMAttribute (Maybe Double) Source #
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
iCD10CMAttribute_relationshipType :: Lens' ICD10CMAttribute (Maybe ICD10CMRelationshipType) Source #
The type of relationship between the entity and attribute. Type for the
relationship can be either of OVERLAP
or SYSTEM_ORGAN_SITE
.
iCD10CMAttribute_score :: Lens' ICD10CMAttribute (Maybe Double) Source #
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
iCD10CMAttribute_text :: Lens' ICD10CMAttribute (Maybe Text) Source #
The segment of input text which contains the detected attribute.
iCD10CMAttribute_traits :: Lens' ICD10CMAttribute (Maybe [ICD10CMTrait]) Source #
The contextual information for the attribute. The traits recognized by
InferICD10CM are DIAGNOSIS
, SIGN
, SYMPTOM
, and NEGATION
.
iCD10CMAttribute_type :: Lens' ICD10CMAttribute (Maybe ICD10CMAttributeType) Source #
The type of attribute. InferICD10CM detects entities of the type
DX_NAME
.
ICD10CMConcept
data ICD10CMConcept Source #
The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.
See: newICD10CMConcept
smart constructor.
ICD10CMConcept' | |
|
Instances
newICD10CMConcept :: ICD10CMConcept Source #
Create a value of ICD10CMConcept
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:ICD10CMConcept'
, iCD10CMConcept_code
- The ICD-10-CM code that identifies the concept found in the knowledge
base from the Centers for Disease Control.
$sel:description:ICD10CMConcept'
, iCD10CMConcept_description
- The long description of the ICD-10-CM code in the ontology.
$sel:score:ICD10CMConcept'
, iCD10CMConcept_score
- The level of confidence that Amazon Comprehend Medical has that the
entity is accurately linked to an ICD-10-CM concept.
iCD10CMConcept_code :: Lens' ICD10CMConcept (Maybe Text) Source #
The ICD-10-CM code that identifies the concept found in the knowledge base from the Centers for Disease Control.
iCD10CMConcept_description :: Lens' ICD10CMConcept (Maybe Text) Source #
The long description of the ICD-10-CM code in the ontology.
iCD10CMConcept_score :: Lens' ICD10CMConcept (Maybe Double) Source #
The level of confidence that Amazon Comprehend Medical has that the entity is accurately linked to an ICD-10-CM concept.
ICD10CMEntity
data ICD10CMEntity Source #
The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
See: newICD10CMEntity
smart constructor.
ICD10CMEntity' | |
|
Instances
newICD10CMEntity :: ICD10CMEntity Source #
Create a value of ICD10CMEntity
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:ICD10CMEntity'
, iCD10CMEntity_attributes
- The detected attributes that relate to the entity. An extracted segment
of the text that is an attribute of an entity, or otherwise related to
an entity, such as the nature of a medical condition.
ICD10CMEntity
, iCD10CMEntity_beginOffset
- The 0-based character offset in the input text that shows where the
entity begins. The offset returns the UTF-8 code point in the string.
ICD10CMEntity
, iCD10CMEntity_category
- The category of the entity. InferICD10CM detects entities in the
MEDICAL_CONDITION
category.
ICD10CMEntity
, iCD10CMEntity_endOffset
- The 0-based character offset in the input text that shows where the
entity ends. The offset returns the UTF-8 code point in the string.
$sel:iCD10CMConcepts:ICD10CMEntity'
, iCD10CMEntity_iCD10CMConcepts
- The ICD-10-CM concepts that the entity could refer to, along with a
score indicating the likelihood of the match.
ICD10CMEntity
, iCD10CMEntity_id
- The numeric identifier for the entity. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.
ICD10CMEntity
, iCD10CMEntity_score
- The level of confidence that Amazon Comprehend Medical has in the
accuracy of the detection.
ICD10CMEntity
, iCD10CMEntity_text
- The segment of input text that is matched to the detected entity.
ICD10CMEntity
, iCD10CMEntity_traits
- Provides Contextual information for the entity. The traits recognized by
InferICD10CM are DIAGNOSIS
, SIGN
, SYMPTOM
, and NEGATION.
ICD10CMEntity
, iCD10CMEntity_type
- Describes the specific type of entity with category of entities.
InferICD10CM detects entities of the type DX_NAME
and
TIME_EXPRESSION
.
iCD10CMEntity_attributes :: Lens' ICD10CMEntity (Maybe [ICD10CMAttribute]) Source #
The detected attributes that relate to the entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the nature of a medical condition.
iCD10CMEntity_beginOffset :: Lens' ICD10CMEntity (Maybe Int) Source #
The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
iCD10CMEntity_category :: Lens' ICD10CMEntity (Maybe ICD10CMEntityCategory) Source #
The category of the entity. InferICD10CM detects entities in the
MEDICAL_CONDITION
category.
iCD10CMEntity_endOffset :: Lens' ICD10CMEntity (Maybe Int) Source #
The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.
iCD10CMEntity_iCD10CMConcepts :: Lens' ICD10CMEntity (Maybe [ICD10CMConcept]) Source #
The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.
iCD10CMEntity_id :: Lens' ICD10CMEntity (Maybe Int) Source #
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
iCD10CMEntity_score :: Lens' ICD10CMEntity (Maybe Double) Source #
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.
iCD10CMEntity_text :: Lens' ICD10CMEntity (Maybe Text) Source #
The segment of input text that is matched to the detected entity.
iCD10CMEntity_traits :: Lens' ICD10CMEntity (Maybe [ICD10CMTrait]) Source #
Provides Contextual information for the entity. The traits recognized by
InferICD10CM are DIAGNOSIS
, SIGN
, SYMPTOM
, and NEGATION.
iCD10CMEntity_type :: Lens' ICD10CMEntity (Maybe ICD10CMEntityType) Source #
Describes the specific type of entity with category of entities.
InferICD10CM detects entities of the type DX_NAME
and
TIME_EXPRESSION
.
ICD10CMTrait
data ICD10CMTrait Source #
Contextual information for the entity. The traits recognized by
InferICD10CM are DIAGNOSIS
, SIGN
, SYMPTOM
, and NEGATION
.
See: newICD10CMTrait
smart constructor.
Instances
newICD10CMTrait :: ICD10CMTrait Source #
Create a value of ICD10CMTrait
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:ICD10CMTrait'
, iCD10CMTrait_name
- Provides a name or contextual description about the trait.
$sel:score:ICD10CMTrait'
, iCD10CMTrait_score
- The level of confidence that Comprehend Medical; has that the segment of
text is correctly recognized as a trait.
iCD10CMTrait_name :: Lens' ICD10CMTrait (Maybe ICD10CMTraitName) Source #
Provides a name or contextual description about the trait.
iCD10CMTrait_score :: Lens' ICD10CMTrait (Maybe Double) Source #
The level of confidence that Comprehend Medical; has that the segment of text is correctly recognized as a trait.
InputDataConfig
data InputDataConfig Source #
The input properties for an entities detection job. This includes the name of the S3 bucket and the path to the files to be analyzed.
See: newInputDataConfig
smart constructor.
InputDataConfig' | |
|
Instances
Create a value of InputDataConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3Key:InputDataConfig'
, inputDataConfig_s3Key
- The path to the input data files in the S3 bucket.
$sel:s3Bucket:InputDataConfig'
, inputDataConfig_s3Bucket
- The URI of the S3 bucket that contains the input data. The bucket must
be in the same region as the API endpoint that you are calling.
Each file in the document collection must be less than 40 KB. You can store a maximum of 30 GB in the bucket.
inputDataConfig_s3Key :: Lens' InputDataConfig (Maybe Text) Source #
The path to the input data files in the S3 bucket.
inputDataConfig_s3Bucket :: Lens' InputDataConfig Text Source #
The URI of the S3 bucket that contains the input data. The bucket must be in the same region as the API endpoint that you are calling.
Each file in the document collection must be less than 40 KB. You can store a maximum of 30 GB in the bucket.
OutputDataConfig
data OutputDataConfig Source #
The output properties for a detection job.
See: newOutputDataConfig
smart constructor.
OutputDataConfig' | |
|
Instances
Create a value of OutputDataConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3Key:OutputDataConfig'
, outputDataConfig_s3Key
- The path to the output data files in the S3 bucket. Comprehend Medical;
creates an output directory using the job ID so that the output from one
job does not overwrite the output of another.
$sel:s3Bucket:OutputDataConfig'
, outputDataConfig_s3Bucket
- When you use the OutputDataConfig
object with asynchronous operations,
you specify the Amazon S3 location where you want to write the output
data. The URI must be in the same region as the API endpoint that you
are calling. The location is used as the prefix for the actual location
of the output.
outputDataConfig_s3Key :: Lens' OutputDataConfig (Maybe Text) Source #
The path to the output data files in the S3 bucket. Comprehend Medical; creates an output directory using the job ID so that the output from one job does not overwrite the output of another.
outputDataConfig_s3Bucket :: Lens' OutputDataConfig Text Source #
When you use the OutputDataConfig
object with asynchronous operations,
you specify the Amazon S3 location where you want to write the output
data. The URI must be in the same region as the API endpoint that you
are calling. The location is used as the prefix for the actual location
of the output.
RxNormAttribute
data RxNormAttribute Source #
The extracted attributes that relate to this entity. The attributes
recognized by InferRxNorm are DOSAGE
, DURATION
, FORM
, FREQUENCY
,
RATE
, ROUTE_OR_MODE
.
See: newRxNormAttribute
smart constructor.
RxNormAttribute' | |
|
Instances
newRxNormAttribute :: RxNormAttribute Source #
Create a value of RxNormAttribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:beginOffset:RxNormAttribute'
, rxNormAttribute_beginOffset
- The 0-based character offset in the input text that shows where the
attribute begins. The offset returns the UTF-8 code point in the string.
$sel:endOffset:RxNormAttribute'
, rxNormAttribute_endOffset
- The 0-based character offset in the input text that shows where the
attribute ends. The offset returns the UTF-8 code point in the string.
$sel:id:RxNormAttribute'
, rxNormAttribute_id
- The numeric identifier for this attribute. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.
$sel:relationshipScore:RxNormAttribute'
, rxNormAttribute_relationshipScore
- The level of confidence that Amazon Comprehend Medical has that the
attribute is accurately linked to an entity.
RxNormAttribute
, rxNormAttribute_score
- The level of confidence that Comprehend Medical has that the segment of
text is correctly recognized as an attribute.
$sel:text:RxNormAttribute'
, rxNormAttribute_text
- The segment of input text which corresponds to the detected attribute.
$sel:traits:RxNormAttribute'
, rxNormAttribute_traits
- Contextual information for the attribute. InferRxNorm recognizes the
trait NEGATION
for attributes, i.e. that the patient is not taking a
specific dose or form of a medication.
$sel:type':RxNormAttribute'
, rxNormAttribute_type
- The type of attribute. The types of attributes recognized by InferRxNorm
are BRAND_NAME
and GENERIC_NAME
.
rxNormAttribute_beginOffset :: Lens' RxNormAttribute (Maybe Int) Source #
The 0-based character offset in the input text that shows where the attribute begins. The offset returns the UTF-8 code point in the string.
rxNormAttribute_endOffset :: Lens' RxNormAttribute (Maybe Int) Source #
The 0-based character offset in the input text that shows where the attribute ends. The offset returns the UTF-8 code point in the string.
rxNormAttribute_id :: Lens' RxNormAttribute (Maybe Int) Source #
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
rxNormAttribute_relationshipScore :: Lens' RxNormAttribute (Maybe Double) Source #
The level of confidence that Amazon Comprehend Medical has that the attribute is accurately linked to an entity.
rxNormAttribute_score :: Lens' RxNormAttribute (Maybe Double) Source #
The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an attribute.
rxNormAttribute_text :: Lens' RxNormAttribute (Maybe Text) Source #
The segment of input text which corresponds to the detected attribute.
rxNormAttribute_traits :: Lens' RxNormAttribute (Maybe [RxNormTrait]) Source #
Contextual information for the attribute. InferRxNorm recognizes the
trait NEGATION
for attributes, i.e. that the patient is not taking a
specific dose or form of a medication.
rxNormAttribute_type :: Lens' RxNormAttribute (Maybe RxNormAttributeType) Source #
The type of attribute. The types of attributes recognized by InferRxNorm
are BRAND_NAME
and GENERIC_NAME
.
RxNormConcept
data RxNormConcept Source #
The RxNorm concept that the entity could refer to, along with a score indicating the likelihood of the match.
See: newRxNormConcept
smart constructor.
Instances
newRxNormConcept :: RxNormConcept Source #
Create a value of RxNormConcept
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:RxNormConcept'
, rxNormConcept_code
- RxNorm concept ID, also known as the RxCUI.
$sel:description:RxNormConcept'
, rxNormConcept_description
- The description of the RxNorm concept.
$sel:score:RxNormConcept'
, rxNormConcept_score
- The level of confidence that Amazon Comprehend Medical has that the
entity is accurately linked to the reported RxNorm concept.
rxNormConcept_code :: Lens' RxNormConcept (Maybe Text) Source #
RxNorm concept ID, also known as the RxCUI.
rxNormConcept_description :: Lens' RxNormConcept (Maybe Text) Source #
The description of the RxNorm concept.
rxNormConcept_score :: Lens' RxNormConcept (Maybe Double) Source #
The level of confidence that Amazon Comprehend Medical has that the entity is accurately linked to the reported RxNorm concept.
RxNormEntity
data RxNormEntity Source #
The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
See: newRxNormEntity
smart constructor.
RxNormEntity' | |
|
Instances
newRxNormEntity :: RxNormEntity Source #
Create a value of RxNormEntity
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:RxNormEntity'
, rxNormEntity_attributes
- The extracted attributes that relate to the entity. The attributes
recognized by InferRxNorm are DOSAGE
, DURATION
, FORM
, FREQUENCY
,
RATE
, ROUTE_OR_MODE
, and STRENGTH
.
RxNormEntity
, rxNormEntity_beginOffset
- The 0-based character offset in the input text that shows where the
entity begins. The offset returns the UTF-8 code point in the string.
$sel:category:RxNormEntity'
, rxNormEntity_category
- The category of the entity. The recognized categories are GENERIC
or
BRAND_NAME
.
RxNormEntity
, rxNormEntity_endOffset
- The 0-based character offset in the input text that shows where the
entity ends. The offset returns the UTF-8 code point in the string.
RxNormEntity
, rxNormEntity_id
- The numeric identifier for the entity. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.
$sel:rxNormConcepts:RxNormEntity'
, rxNormEntity_rxNormConcepts
- The RxNorm concepts that the entity could refer to, along with a score
indicating the likelihood of the match.
RxNormEntity
, rxNormEntity_score
- The level of confidence that Amazon Comprehend Medical has in the
accuracy of the detected entity.
RxNormEntity
, rxNormEntity_text
- The segment of input text extracted from which the entity was detected.
RxNormEntity
, rxNormEntity_traits
- Contextual information for the entity.
RxNormEntity
, rxNormEntity_type
- Describes the specific type of entity. For InferRxNorm, the recognized
entity type is MEDICATION
.
rxNormEntity_attributes :: Lens' RxNormEntity (Maybe [RxNormAttribute]) Source #
The extracted attributes that relate to the entity. The attributes
recognized by InferRxNorm are DOSAGE
, DURATION
, FORM
, FREQUENCY
,
RATE
, ROUTE_OR_MODE
, and STRENGTH
.
rxNormEntity_beginOffset :: Lens' RxNormEntity (Maybe Int) Source #
The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
rxNormEntity_category :: Lens' RxNormEntity (Maybe RxNormEntityCategory) Source #
The category of the entity. The recognized categories are GENERIC
or
BRAND_NAME
.
rxNormEntity_endOffset :: Lens' RxNormEntity (Maybe Int) Source #
The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.
rxNormEntity_id :: Lens' RxNormEntity (Maybe Int) Source #
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
rxNormEntity_rxNormConcepts :: Lens' RxNormEntity (Maybe [RxNormConcept]) Source #
The RxNorm concepts that the entity could refer to, along with a score indicating the likelihood of the match.
rxNormEntity_score :: Lens' RxNormEntity (Maybe Double) Source #
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected entity.
rxNormEntity_text :: Lens' RxNormEntity (Maybe Text) Source #
The segment of input text extracted from which the entity was detected.
rxNormEntity_traits :: Lens' RxNormEntity (Maybe [RxNormTrait]) Source #
Contextual information for the entity.
rxNormEntity_type :: Lens' RxNormEntity (Maybe RxNormEntityType) Source #
Describes the specific type of entity. For InferRxNorm, the recognized
entity type is MEDICATION
.
RxNormTrait
data RxNormTrait Source #
The contextual information for the entity. InferRxNorm recognizes the
trait NEGATION
, which is any indication that the patient is not taking
a medication.
See: newRxNormTrait
smart constructor.
Instances
newRxNormTrait :: RxNormTrait Source #
Create a value of RxNormTrait
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:RxNormTrait'
, rxNormTrait_name
- Provides a name or contextual description about the trait.
$sel:score:RxNormTrait'
, rxNormTrait_score
- The level of confidence that Amazon Comprehend Medical has in the
accuracy of the detected trait.
rxNormTrait_name :: Lens' RxNormTrait (Maybe RxNormTraitName) Source #
Provides a name or contextual description about the trait.
rxNormTrait_score :: Lens' RxNormTrait (Maybe Double) Source #
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.
SNOMEDCTAttribute
data SNOMEDCTAttribute Source #
The extracted attributes that relate to an entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.
See: newSNOMEDCTAttribute
smart constructor.
SNOMEDCTAttribute' | |
|
Instances
newSNOMEDCTAttribute :: SNOMEDCTAttribute Source #
Create a value of SNOMEDCTAttribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:beginOffset:SNOMEDCTAttribute'
, sNOMEDCTAttribute_beginOffset
- The 0-based character offset in the input text that shows where the
attribute begins. The offset returns the UTF-8 code point in the string.
$sel:category:SNOMEDCTAttribute'
, sNOMEDCTAttribute_category
- The category of the detected attribute. Possible categories include
MEDICAL_CONDITION, ANATOMY, and TEST_TREATMENT_PROCEDURE.
$sel:endOffset:SNOMEDCTAttribute'
, sNOMEDCTAttribute_endOffset
- The 0-based character offset in the input text that shows where the
attribute ends. The offset returns the UTF-8 code point in the string.
$sel:id:SNOMEDCTAttribute'
, sNOMEDCTAttribute_id
- The numeric identifier for this attribute. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.
$sel:relationshipScore:SNOMEDCTAttribute'
, sNOMEDCTAttribute_relationshipScore
- The level of confidence that Comprehend Medical has that this attribute
is correctly related to this entity.
$sel:relationshipType:SNOMEDCTAttribute'
, sNOMEDCTAttribute_relationshipType
- The type of relationship that exists between the entity and the related
attribute.
$sel:sNOMEDCTConcepts:SNOMEDCTAttribute'
, sNOMEDCTAttribute_sNOMEDCTConcepts
- The SNOMED-CT concepts specific to an attribute, along with a score
indicating the likelihood of the match.
SNOMEDCTAttribute
, sNOMEDCTAttribute_score
- The level of confidence that Comprehend Medical has that the segment of
text is correctly recognized as an attribute.
$sel:text:SNOMEDCTAttribute'
, sNOMEDCTAttribute_text
- The segment of input text extracted as this attribute.
$sel:traits:SNOMEDCTAttribute'
, sNOMEDCTAttribute_traits
- Contextual information for an attribute. Examples include signs,
symptoms, diagnosis, and negation.
$sel:type':SNOMEDCTAttribute'
, sNOMEDCTAttribute_type
- The type of attribute. Possible types include DX_NAME, ACUITY,
DIRECTION, SYSTEM_ORGAN_SITE,TEST_NAME, TEST_VALUE, TEST_UNIT,
PROCEDURE_NAME, and TREATMENT_NAME.
sNOMEDCTAttribute_beginOffset :: Lens' SNOMEDCTAttribute (Maybe Int) Source #
The 0-based character offset in the input text that shows where the attribute begins. The offset returns the UTF-8 code point in the string.
sNOMEDCTAttribute_category :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTEntityCategory) Source #
The category of the detected attribute. Possible categories include MEDICAL_CONDITION, ANATOMY, and TEST_TREATMENT_PROCEDURE.
sNOMEDCTAttribute_endOffset :: Lens' SNOMEDCTAttribute (Maybe Int) Source #
The 0-based character offset in the input text that shows where the attribute ends. The offset returns the UTF-8 code point in the string.
sNOMEDCTAttribute_id :: Lens' SNOMEDCTAttribute (Maybe Int) Source #
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
sNOMEDCTAttribute_relationshipScore :: Lens' SNOMEDCTAttribute (Maybe Double) Source #
The level of confidence that Comprehend Medical has that this attribute is correctly related to this entity.
sNOMEDCTAttribute_relationshipType :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTRelationshipType) Source #
The type of relationship that exists between the entity and the related attribute.
sNOMEDCTAttribute_sNOMEDCTConcepts :: Lens' SNOMEDCTAttribute (Maybe [SNOMEDCTConcept]) Source #
The SNOMED-CT concepts specific to an attribute, along with a score indicating the likelihood of the match.
sNOMEDCTAttribute_score :: Lens' SNOMEDCTAttribute (Maybe Double) Source #
The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an attribute.
sNOMEDCTAttribute_text :: Lens' SNOMEDCTAttribute (Maybe Text) Source #
The segment of input text extracted as this attribute.
sNOMEDCTAttribute_traits :: Lens' SNOMEDCTAttribute (Maybe [SNOMEDCTTrait]) Source #
Contextual information for an attribute. Examples include signs, symptoms, diagnosis, and negation.
sNOMEDCTAttribute_type :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTAttributeType) Source #
The type of attribute. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE,TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, and TREATMENT_NAME.
SNOMEDCTConcept
data SNOMEDCTConcept Source #
The SNOMED-CT concepts that the entity could refer to, along with a score indicating the likelihood of the match.
See: newSNOMEDCTConcept
smart constructor.
Instances
newSNOMEDCTConcept :: SNOMEDCTConcept Source #
Create a value of SNOMEDCTConcept
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:SNOMEDCTConcept'
, sNOMEDCTConcept_code
- The numeric ID for the SNOMED-CT concept.
$sel:description:SNOMEDCTConcept'
, sNOMEDCTConcept_description
- The description of the SNOMED-CT concept.
$sel:score:SNOMEDCTConcept'
, sNOMEDCTConcept_score
- The level of confidence Comprehend Medical has that the entity should be
linked to the identified SNOMED-CT concept.
sNOMEDCTConcept_code :: Lens' SNOMEDCTConcept (Maybe Text) Source #
The numeric ID for the SNOMED-CT concept.
sNOMEDCTConcept_description :: Lens' SNOMEDCTConcept (Maybe Text) Source #
The description of the SNOMED-CT concept.
sNOMEDCTConcept_score :: Lens' SNOMEDCTConcept (Maybe Double) Source #
The level of confidence Comprehend Medical has that the entity should be linked to the identified SNOMED-CT concept.
SNOMEDCTDetails
data SNOMEDCTDetails Source #
The information about the revision of the SNOMED-CT ontology in the response. Specifically, the details include the SNOMED-CT edition, language, and version date.
See: newSNOMEDCTDetails
smart constructor.
SNOMEDCTDetails' | |
|
Instances
newSNOMEDCTDetails :: SNOMEDCTDetails Source #
Create a value of SNOMEDCTDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:edition:SNOMEDCTDetails'
, sNOMEDCTDetails_edition
- The edition of SNOMED-CT used. The edition used for the InferSNOMEDCT
editions is the US edition.
$sel:language:SNOMEDCTDetails'
, sNOMEDCTDetails_language
- The language used in the SNOMED-CT ontology. All Amazon Comprehend
Medical operations are US English (en).
$sel:versionDate:SNOMEDCTDetails'
, sNOMEDCTDetails_versionDate
- The version date of the SNOMED-CT ontology used.
sNOMEDCTDetails_edition :: Lens' SNOMEDCTDetails (Maybe Text) Source #
The edition of SNOMED-CT used. The edition used for the InferSNOMEDCT editions is the US edition.
sNOMEDCTDetails_language :: Lens' SNOMEDCTDetails (Maybe Text) Source #
The language used in the SNOMED-CT ontology. All Amazon Comprehend Medical operations are US English (en).
sNOMEDCTDetails_versionDate :: Lens' SNOMEDCTDetails (Maybe Text) Source #
The version date of the SNOMED-CT ontology used.
SNOMEDCTEntity
data SNOMEDCTEntity Source #
The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
See: newSNOMEDCTEntity
smart constructor.
SNOMEDCTEntity' | |
|
Instances
newSNOMEDCTEntity :: SNOMEDCTEntity Source #
Create a value of SNOMEDCTEntity
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:SNOMEDCTEntity'
, sNOMEDCTEntity_attributes
- An extracted segment of the text that is an attribute of an entity, or
otherwise related to an entity, such as the dosage of a medication
taken.
SNOMEDCTEntity
, sNOMEDCTEntity_beginOffset
- The 0-based character offset in the input text that shows where the
entity begins. The offset returns the UTF-8 code point in the string.
SNOMEDCTEntity
, sNOMEDCTEntity_category
- The category of the detected entity. Possible categories are
MEDICAL_CONDITION, ANATOMY, or TEST_TREATMENT_PROCEDURE.
SNOMEDCTEntity
, sNOMEDCTEntity_endOffset
- The 0-based character offset in the input text that shows where the
entity ends. The offset returns the UTF-8 code point in the string.
SNOMEDCTEntity
, sNOMEDCTEntity_id
- The numeric identifier for the entity. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.
SNOMEDCTEntity
, sNOMEDCTEntity_sNOMEDCTConcepts
- The SNOMED concepts that the entity could refer to, along with a score
indicating the likelihood of the match.
SNOMEDCTEntity
, sNOMEDCTEntity_score
- The level of confidence that Comprehend Medical has in the accuracy of
the detected entity.
SNOMEDCTEntity
, sNOMEDCTEntity_text
- The segment of input text extracted as this entity.
SNOMEDCTEntity
, sNOMEDCTEntity_traits
- Contextual information for the entity.
SNOMEDCTEntity
, sNOMEDCTEntity_type
- Describes the specific type of entity with category of entities.
Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE,
TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, or TREATMENT_NAME.
sNOMEDCTEntity_attributes :: Lens' SNOMEDCTEntity (Maybe [SNOMEDCTAttribute]) Source #
An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.
sNOMEDCTEntity_beginOffset :: Lens' SNOMEDCTEntity (Maybe Int) Source #
The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
sNOMEDCTEntity_category :: Lens' SNOMEDCTEntity (Maybe SNOMEDCTEntityCategory) Source #
The category of the detected entity. Possible categories are MEDICAL_CONDITION, ANATOMY, or TEST_TREATMENT_PROCEDURE.
sNOMEDCTEntity_endOffset :: Lens' SNOMEDCTEntity (Maybe Int) Source #
The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.
sNOMEDCTEntity_id :: Lens' SNOMEDCTEntity (Maybe Int) Source #
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
sNOMEDCTEntity_sNOMEDCTConcepts :: Lens' SNOMEDCTEntity (Maybe [SNOMEDCTConcept]) Source #
The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.
sNOMEDCTEntity_score :: Lens' SNOMEDCTEntity (Maybe Double) Source #
The level of confidence that Comprehend Medical has in the accuracy of the detected entity.
sNOMEDCTEntity_text :: Lens' SNOMEDCTEntity (Maybe Text) Source #
The segment of input text extracted as this entity.
sNOMEDCTEntity_traits :: Lens' SNOMEDCTEntity (Maybe [SNOMEDCTTrait]) Source #
Contextual information for the entity.
sNOMEDCTEntity_type :: Lens' SNOMEDCTEntity (Maybe SNOMEDCTEntityType) Source #
Describes the specific type of entity with category of entities. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE, TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, or TREATMENT_NAME.
SNOMEDCTTrait
data SNOMEDCTTrait Source #
Contextual information for an entity.
See: newSNOMEDCTTrait
smart constructor.
Instances
newSNOMEDCTTrait :: SNOMEDCTTrait Source #
Create a value of SNOMEDCTTrait
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SNOMEDCTTrait'
, sNOMEDCTTrait_name
- The name or contextual description of a detected trait.
$sel:score:SNOMEDCTTrait'
, sNOMEDCTTrait_score
- The level of confidence that Comprehend Medical has in the accuracy of a
detected trait.
sNOMEDCTTrait_name :: Lens' SNOMEDCTTrait (Maybe SNOMEDCTTraitName) Source #
The name or contextual description of a detected trait.
sNOMEDCTTrait_score :: Lens' SNOMEDCTTrait (Maybe Double) Source #
The level of confidence that Comprehend Medical has in the accuracy of a detected trait.
Trait
Provides contextual information about the extracted entity.
See: newTrait
smart constructor.
Instances
FromJSON Trait Source # | |
Generic Trait Source # | |
Read Trait Source # | |
Show Trait Source # | |
NFData Trait Source # | |
Defined in Amazonka.ComprehendMedical.Types.Trait | |
Eq Trait Source # | |
Hashable Trait Source # | |
Defined in Amazonka.ComprehendMedical.Types.Trait | |
type Rep Trait Source # | |
Defined in Amazonka.ComprehendMedical.Types.Trait type Rep Trait = D1 ('MetaData "Trait" "Amazonka.ComprehendMedical.Types.Trait" "amazonka-comprehendmedical-2.0-K5bRdy29Oz63JzqZPPUiej" 'False) (C1 ('MetaCons "Trait'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttributeName)) :*: S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) |
Create a value of Trait
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:Trait'
, trait_name
- Provides a name or contextual description about the trait.
$sel:score:Trait'
, trait_score
- The level of confidence that Comprehend Medical; has in the accuracy of
this trait.
trait_name :: Lens' Trait (Maybe AttributeName) Source #
Provides a name or contextual description about the trait.
trait_score :: Lens' Trait (Maybe Double) Source #
The level of confidence that Comprehend Medical; has in the accuracy of this trait.
UnmappedAttribute
data UnmappedAttribute Source #
An attribute that was extracted, but Comprehend Medical; was unable to relate to an entity.
See: newUnmappedAttribute
smart constructor.
UnmappedAttribute' | |
|
Instances
newUnmappedAttribute :: UnmappedAttribute Source #
Create a value of UnmappedAttribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attribute:UnmappedAttribute'
, unmappedAttribute_attribute
- The specific attribute that has been extracted but not mapped to an
entity.
UnmappedAttribute
, unmappedAttribute_type
- The type of the unmapped attribute, could be one of the following
values: "MEDICATION", "MEDICAL_CONDITION", "ANATOMY",
"TEST_AND_TREATMENT_PROCEDURE" or "PROTECTED_HEALTH_INFORMATION".
unmappedAttribute_attribute :: Lens' UnmappedAttribute (Maybe Attribute) Source #
The specific attribute that has been extracted but not mapped to an entity.
unmappedAttribute_type :: Lens' UnmappedAttribute (Maybe EntityType) Source #
The type of the unmapped attribute, could be one of the following values: "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or "PROTECTED_HEALTH_INFORMATION".