Skip to content

Commit

Permalink
Update HIVObservationHIVCondition.map
Browse files Browse the repository at this point in the history
Added onset date to structuremap for creating the HIV condition from the observation from KenyaEMR.
  • Loading branch information
lukeaduncan authored May 17, 2024
1 parent e53f6e9 commit 336cc03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions input/maps/HIVObservationHIVCondition.map
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ group HIVObservationHIVCondition(
patient -> cond.subject as subject then {
patient -> subject.reference = reference(patient) "setSubjectRef";
} "setSubject";
obsentry.effective as effective -> cond.onset = effective "setOnset";
obsentry -> cond.code as ccode then {
obsentry -> ccode.coding as coding then {
obsentry -> coding.code = '86406008',
Expand Down

0 comments on commit 336cc03

Please sign in to comment.