Skip to content

Commit 450c174

Browse files
authored
Update claim.py
1 parent 182efe2 commit 450c174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databricksx12/hls/claim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _populate_subscriber_loop(self):
172172
def _populate_patient_loop(self) -> Dict[str, str]:
173173
# Note - if this doesn't exist then it's the same as subscriber loop
174174
# 01 = Spouse; 18 = Self; 19 = Child; G8 = Other
175-
return self._populate_subscriber_loop() if self._first(self.subscriber_loop, "SBR").element(1) == "18" else PatientIdentity(
175+
return self._populate_subscriber_loop() if self._first(self.subscriber_loop, "SBR").element(2) == "18" else PatientIdentity(
176176
nm1 = self._first(self.patient_loop, "NM1"),
177177
n3 = self._first(self.patient_loop, "N3"),
178178
n4 = self._first(self.patient_loop, "N4"),

0 commit comments

Comments
 (0)