Skip to content

Latest commit

 

History

History
134 lines (80 loc) · 3.66 KB

internal-format.md

File metadata and controls

134 lines (80 loc) · 3.66 KB

CSVToFHIR Internal Format

CSVToFHIR parses CSV records into a Pandas DataFrame using tasks to standardize data into an internal representation. This internal representation provides a single normalized format used to convert records to FHIR resources. The sections below lists the fields used for each internal CSV data model.

Table of Contents

Allergy Intolerance

See AllergyIntoleranceCsv for the AllergyIntolerance model fields.

The Allergy Intolerance conversion produces the following FHIR resources:

  • AllergyIntolerance

Condition

See ConditionCsv for the Condition model fields.

The Condition conversion produces the following FHIR resources:

  • Condition
  • Encounter (optional)

Basic

See BasicCsv for the Condition model fields.

The Basic conversion produces the following FHIR resources:

  • Basic

Encounter

See EncounterCsv for the Encounter model fields.

The Encounter conversion produces the following FHIR resources:

  • Encounter
  • Practitioner (Optional)
  • PractitionerRole (Optional)
  • Location (Optional)

Immunization

See ImmunizationCsv for the Immunization model fields.

The Condition conversion produces the following FHIR resources:

  • Immunization
  • Organization (optional)

Location

See LocationCsv for the Location model fields.

The Location conversion produces the following FHIR resources:

  • Location

Medication Use

See MedicationUseCsv for Medication model fields.

The Medication Use conversion produces the following FHIR resources:

  • MedicationAdministration (Optional)
  • MedicationRequest (Optional)
  • MedicationStatement (Optional)
  • Encounter (Optional)

Observation

See ObservationCsv for the Observation model fields.

The Observation conversion produces the following FHIR resources:

  • Patient
  • Observation
  • Practitioner (Optional)

Patient

See PatientCsv for the Patient model fields.

The Patient conversion produces the following FHIR resources:

  • Patient

Practitioner

See ParactitionerCsv for the Practitioner model fields.

The Practitioner conversion produces the following FHIR resources:

  • Practitioner (Optional)
  • PractitionerRole (Optional)

Procedure

See ProcedureCsv for the Procedure model fields.

The Procedure conversion produces the following FHIR resources:

  • Encounter (Optional)
  • Practitioner (Optional)
  • Procedure

Unstructured

See UnstructuredCsv for the Unstructured model fields.

The Unstructured conversion produces the following FHIR resources:

  • Attachment
  • Practitioner
  • DiagnosticReport (Optional)
  • DocumentReference (Optional)