Packages

package fhir

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. 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.

    Example:
    1. 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

    FHIR Specification

  2. trait PretrainedReadableFhirDeIdentification extends ParamsAndFeaturesReadable[FhirDeIdentification] with HasPretrained[FhirDeIdentification]

Value Members

  1. 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.

  2. object FhirParserTypes
    Attributes
    protected
  3. object FhirUtil
    Attributes
    protected
  4. object FhirVersions
    Attributes
    protected

Ungrouped