package fhir
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
class
FhirDeIdentification extends Transformer with HasFeatures with LightDeIdentificationParams with DeidModelParams with CheckLicense with HasInputCol with HasOutputAnnotationCol with ParamsAndFeaturesWritable
A Spark Transformer for de-identifying FHIR resources according to configurable privacy rules.
A Spark Transformer for de-identifying FHIR resources according to configurable privacy rules.
Overview
Performs field-level obfuscation on FHIR JSON documents using FHIR Path expressions. Supports R4, R5, and DSTU3 FHIR versions with type-aware de-identification strategies. Additionally, supports different parser types (JSON, XML) for FHIR resources.
Basic Pipeline Usage
val deid = new FhirDeIdentification() .setInputCol("raw_fhir") .setOutputCol("deidentified") .setMode("obfuscate") .setMappingRules(Map("Patient.birthDate" -> "Date")) val pipeline = new Pipeline().setStages(Array(deid))
- See also
Example: - trait PretrainedReadableFhirDeIdentification extends ParamsAndFeaturesReadable[FhirDeIdentification] with HasPretrained[FhirDeIdentification]
Value Members
-
object
FhirDeIdentification extends PretrainedReadableFhirDeIdentification with Serializable
This is the companion object of FhirDeIdentification.
This is the companion object of FhirDeIdentification. Please refer to that class for the documentation.
-
object
FhirParserTypes
- Attributes
- protected
-
object
FhirUtil
- Attributes
- protected
-
object
FhirVersions
- Attributes
- protected