Skip to content

Commit 8364a86

Browse files
committed
fix conflict lint
1 parent 13a17db commit 8364a86

File tree

4 files changed

+43
-8
lines changed

4 files changed

+43
-8
lines changed

delta_backend/output.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
NHS_NUMBER,PERSON_FORENAME,PERSON_SURNAME,PERSON_DOB,PERSON_GENDER_CODE,PERSON_POSTCODE,DATE_AND_TIME,SITE_CODE,SITE_CODE_TYPE_URI,UNIQUE_ID,UNIQUE_ID_URI,ACTION_FLAG,PERFORMING_PROFESSIONAL_FORENAME,PERFORMING_PROFESSIONAL_SURNAME,RECORDED_DATE,PRIMARY_SOURCE,VACCINATION_PROCEDURE_CODE,VACCINATION_PROCEDURE_TERM,DOSE_SEQUENCE,VACCINE_PRODUCT_CODE,VACCINE_PRODUCT_TERM,VACCINE_MANUFACTURER,BATCH_NUMBER,EXPIRY_DATE,SITE_OF_VACCINATION_CODE,SITE_OF_VACCINATION_TERM,ROUTE_OF_VACCINATION_CODE,ROUTE_OF_VACCINATION_TERM,DOSE_AMOUNT,DOSE_UNIT_CODE,DOSE_UNIT_TERM,INDICATION_CODE,LOCATION_CODE,LOCATION_CODE_TYPE_URI,CONVERSION_ERRORS
2+
9990548609,test13 test14 test15,test12,20260310,9,WF8 4ED,20250306T13281701,B0C4P,https://fhir.hl7.org.uk/Id/urn-school-number,ACME-vacc123456,https://supplierABC/identifiers/vacc,UPDATE,Darren Official,Furlong official,20250101,,956951000000104,Seasonal influenza vaccination (procedure),2,39114911000001104,"COVID-19 Vaccine Vaxzevria (ChAdOx1 S [recombinant]) not less than 2.5x100,000,000 infectious units/0.5ml dose suspension for injection multidose vials (AstraZeneca UK Ltd) (product)",AstraZeneca Ltd,4120Z001,20250702,368208006,Left upper arm structure (body structure),78421000,Intramuscular route (qualifier value),0.5,,milliliter,443684005,X99999,https://fhir.nhs.uk/Id/ods-organization-code,[]

delta_backend/output.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"NHS_NUMBER": "9990548609",
3+
"PERSON_FORENAME": "test13 test14 test15",
4+
"PERSON_SURNAME": "test12",
5+
"PERSON_DOB": "20260310",
6+
"PERSON_GENDER_CODE": "9",
7+
"PERSON_POSTCODE": "WF8 4ED",
8+
"DATE_AND_TIME": "20250306T13281701",
9+
"SITE_CODE": "B0C4P",
10+
"SITE_CODE_TYPE_URI": "https://fhir.hl7.org.uk/Id/urn-school-number",
11+
"UNIQUE_ID": "ACME-vacc123456",
12+
"UNIQUE_ID_URI": "https://supplierABC/identifiers/vacc",
13+
"ACTION_FLAG": "UPDATE",
14+
"PERFORMING_PROFESSIONAL_FORENAME": "Darren Official",
15+
"PERFORMING_PROFESSIONAL_SURNAME": "Furlong official",
16+
"RECORDED_DATE": "20250101",
17+
"PRIMARY_SOURCE": "",
18+
"VACCINATION_PROCEDURE_CODE": "956951000000104",
19+
"VACCINATION_PROCEDURE_TERM": "Seasonal influenza vaccination (procedure)",
20+
"DOSE_SEQUENCE": "2",
21+
"VACCINE_PRODUCT_CODE": "39114911000001104",
22+
"VACCINE_PRODUCT_TERM": "COVID-19 Vaccine Vaxzevria (ChAdOx1 S [recombinant]) not less than 2.5x100,000,000 infectious units/0.5ml dose suspension for injection multidose vials (AstraZeneca UK Ltd) (product)",
23+
"VACCINE_MANUFACTURER": "AstraZeneca Ltd",
24+
"BATCH_NUMBER": "4120Z001",
25+
"EXPIRY_DATE": "20250702",
26+
"SITE_OF_VACCINATION_CODE": "368208006",
27+
"SITE_OF_VACCINATION_TERM": "Left upper arm structure (body structure)",
28+
"ROUTE_OF_VACCINATION_CODE": "78421000",
29+
"ROUTE_OF_VACCINATION_TERM": "Intramuscular route (qualifier value)",
30+
"DOSE_AMOUNT": 0.5,
31+
"DOSE_UNIT_CODE": "",
32+
"DOSE_UNIT_TERM": "milliliter",
33+
"INDICATION_CODE": "443684005",
34+
"LOCATION_CODE": "X99999",
35+
"LOCATION_CODE_TYPE_URI": "https://fhir.nhs.uk/Id/ods-organization-code",
36+
"CONVERSION_ERRORS": []
37+
}

lambdas/shared/src/common/log_firehose.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import json
22

3-
from common.clients import (
4-
firehose_client,
5-
logger,
6-
)
3+
from common.clients import firehose_client
4+
from common.clients import logger
75

86

97
def send_log_to_firehose(stream_name, log_data: dict) -> None:

lambdas/shared/tests/test_common/test_log_decorator.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
from datetime import datetime
44
from unittest.mock import patch
55

6-
from common.log_decorator import (
7-
generate_and_send_logs,
8-
logging_decorator,
9-
)
6+
from common.log_decorator import generate_and_send_logs
7+
from common.log_decorator import logging_decorator
108

119

1210
class TestLogDecorator(unittest.TestCase):

0 commit comments

Comments
 (0)