File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
lambdas/shared/src/common/models Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11"FHIR Immunization Pre Validators"
22
3- from common .models .errors import MandatoryError
4- from constants import Urls
53from common .models .constants import Constants
4+ from common .models .errors import MandatoryError
65from common .models .utils .generic_utils import (
76 check_for_unknown_elements ,
87 generate_field_location_for_extension ,
1413 practitioner_name_given_field_location ,
1514)
1615from common .models .utils .pre_validator_utils import PreValidation
16+ from constants import Urls
1717
1818
1919class PreValidators :
Original file line number Diff line number Diff line change 55
66from dataclasses import dataclass , field
77
8- from constants import Urls
98from common .models .utils .generic_utils import (
109 generate_field_location_for_extension ,
1110 patient_name_family_field_location ,
1211 patient_name_given_field_location ,
1312 practitioner_name_family_field_location ,
1413 practitioner_name_given_field_location ,
1514)
15+ from constants import Urls
1616
1717
1818@dataclass
Original file line number Diff line number Diff line change 11"""Functions for obtaining a field value from the FHIR immunization resource json data"""
22
3- from constants import Urls
43from common .models .utils .generic_utils import (
54 get_contained_patient ,
65 get_contained_practitioner ,
76 get_generic_extension_value ,
87 is_organization ,
98 patient_and_practitioner_value_and_index ,
109)
10+ from constants import Urls
1111
1212
1313class ObtainFieldValue :
Original file line number Diff line number Diff line change 22
33import json
44
5- from common .models .errors import MandatoryError
6- from common .redis_client import get_redis_client
7- from constants import Urls
85from common .models .constants import Constants
6+ from common .models .errors import MandatoryError
97from common .models .field_names import FieldNames
108from common .models .obtain_field_value import ObtainFieldValue
119from common .models .utils .base_utils import obtain_field_location
10+ from common .redis_client import get_redis_client
11+ from constants import Urls
1212
1313from .generic_utils import create_diagnostics_error
1414
You can’t perform that action at this time.
0 commit comments