Skip to content

Commit

Permalink
Added dateAdjustment to Death criteria print friendly.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisknoll committed Jan 10, 2025
1 parent 6a191f7 commit a4609d7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ c.CorrelatedCriteria??>; <@Group group=c.CorrelatedCriteria level=level indexLab
<#macro Death c level isPlural=true countCriteria={} indexLabel="cohort entry"><#local attrs = []><#local attrs = []><#if countCriteria?has_content>
<#local temp><@WindowCriteria countCriteria=countCriteria indexLabel=indexLabel/></#local><#if temp?has_content><#local attrs+=[temp]></#if></#if>
<#local temp><@AgeGenderCriteria ageAtStart=c.age!{} gender=c.gender!{} genderCS=c.genderCS!{} /></#local><#if temp?has_content><#local attrs+=[temp]></#if>
<#local temp><@inputTypes.DateAdjustment da=c.dateAdjustment!{} /></#local><#if temp?has_content><#local attrs+=[temp]></#if>
<#local temp><@EventDateCriteria c.occurrenceStartDate!{} c.occurrenceEndDate!{} /></#local><#if temp?has_content><#local attrs+=[temp]></#if><#if
c.deathType??><#local temp>a death type that<#if c.deathTypeExclude!false> is not:<#else> is:</#if> <@inputTypes.ConceptList list=c.deathType/></#local><#local attrs+=[temp]></#if><#if
c.deathTypeCS??><#local temp>a death type concept <@inputTypes.ConceptSetSelection selection=c.deathTypeCS /> concept set</#local><#local attrs+=[temp]></#if>
Expand Down
50 changes: 25 additions & 25 deletions src/test/resources/printfriendly/allAttributes.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,31 +292,6 @@
]
}
},
{
"ConditionOccurrence": {
"CodesetId": 1,
"OccurrenceStartDate": {
"Value": "2010-01-01",
"Op": "gte"
},
"First": true,
"GenderCS" : {
"CodesetId": 0
},
"ConditionTypeCS" : {
"CodesetId": 0
},
"ProviderSpecialtyCS" : {
"CodesetId": 0
},
"VisitTypeCS" : {
"CodesetId": 0
},
"ConditionStatusCS" : {
"CodesetId": 0
}
}
},
{
"ConditionOccurrence": {
"CorrelatedCriteria": {
Expand Down Expand Up @@ -456,6 +431,31 @@
}
}
},
{
"ConditionOccurrence": {
"CodesetId": 1,
"OccurrenceStartDate": {
"Value": "2010-01-01",
"Op": "gte"
},
"First": true,
"GenderCS" : {
"CodesetId": 0
},
"ConditionTypeCS" : {
"CodesetId": 0
},
"ProviderSpecialtyCS" : {
"CodesetId": 0
},
"VisitTypeCS" : {
"CodesetId": 0
},
"ConditionStatusCS" : {
"CodesetId": 0
}
}
},
{
"Death": {
"CorrelatedCriteria": {
Expand Down

0 comments on commit a4609d7

Please sign in to comment.