Skip to content
This repository was archived by the owner on Aug 3, 2020. It is now read-only.

Commit 637dfc2

Browse files
author
Alex Nolasco
committed
Removed vertical bar from allergies
1 parent 4c3b8c7 commit 637dfc2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

ccdaviewer/ccdaviewer/view/sections/cells/allergies/ViewerAllergiesCell.m

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,6 @@ - (UIColor *)getServerityBarColorFromCode:(HL7ProblemSeverityCode)severityCode
9999
return [UIColor redColor];
100100
}
101101

102-
- (void)addVerticalLineWithColor:(UIColor *)color
103-
{
104-
UIView *verticalLine = [[UIView alloc] initWithFrame:CGRectMake(5.0f, 0.f, 2.0f, self.contentView.bounds.size.height)];
105-
verticalLine.backgroundColor = color;
106-
verticalLine.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleLeftMargin;
107-
[self.contentView addSubview:verticalLine];
108-
}
109-
110102
- (NSString *)reactionsFromEntry:(HL7SummaryEntry *)entry
111103
{
112104
HL7AllergySummaryEntry *allergySummaryEntry = (HL7AllergySummaryEntry *)entry;
@@ -161,7 +153,5 @@ - (void)fillUsingSummaryEntry:(HL7SummaryEntry *)entry rowIndex:(NSUInteger)row
161153
} else {
162154
self.dateRecordedLabel.text = NSLocalizedString(@"SummaryAllergy.DateOfOnsetUnknown", nil);
163155
}
164-
165-
[self addVerticalLineWithColor:[self getServerityBarColorFromCode:[allergySummaryEntry problemSeverityCode]]];
166156
}
167157
@end

0 commit comments

Comments
 (0)