We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 182efe2 commit 450c174Copy full SHA for 450c174
databricksx12/hls/claim.py
@@ -172,7 +172,7 @@ def _populate_subscriber_loop(self):
172
def _populate_patient_loop(self) -> Dict[str, str]:
173
# Note - if this doesn't exist then it's the same as subscriber loop
174
# 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(
+ return self._populate_subscriber_loop() if self._first(self.subscriber_loop, "SBR").element(2) == "18" else PatientIdentity(
176
nm1 = self._first(self.patient_loop, "NM1"),
177
n3 = self._first(self.patient_loop, "N3"),
178
n4 = self._first(self.patient_loop, "N4"),
0 commit comments