Skip to content

Commit

Permalink
Merge pull request #4 from onaio/add-transform-types
Browse files Browse the repository at this point in the history
Add Transform Types
  • Loading branch information
pld authored Jul 13, 2023
2 parents fbddf87 + 92c8f95 commit c5f690c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,17 @@ class TransformSupportServices constructor(private val simpleWorkerContext: Simp
"EpisodeOfCare_Diagnosis" -> EpisodeOfCare.DiagnosisComponent()
"Encounter_Diagnosis" -> Encounter.DiagnosisComponent()
"Encounter_Participant" -> Encounter.EncounterParticipantComponent()
"Encounter_Location" -> Encounter.EncounterLocationComponent()
"CarePlan_Activity" -> CarePlan.CarePlanActivityComponent()
"CarePlan_ActivityDetail" -> CarePlan.CarePlanActivityDetailComponent()
"Patient_Link" -> Patient.PatientLinkComponent()
"Timing_Repeat" -> Timing.TimingRepeatComponent()
"PlanDefinition_Action" -> PlanDefinition.PlanDefinitionActionComponent()
"Group_Characteristic" -> Group.GroupCharacteristicComponent()
"Observation_Component" -> Observation.ObservationComponentComponent()
"Task_Input" -> Task.ParameterComponent()
"Task_Output" -> Task.TaskOutputComponent()
"Task_Restriction" -> Task.TaskRestrictionComponent()
else -> ResourceFactory.createResourceOrType(name)
}
}
Expand Down

0 comments on commit c5f690c

Please sign in to comment.