Skip to content

Commit 4d5a68a

Browse files
committed
NRL-738 fix performance tests
1 parent 35596c0 commit 4d5a68a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tests/performance/environment.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import fire
88
from nhs_number import generate
99

10-
from nrlf.core.constants import POINTER_TYPES
1110
from nrlf.core.dynamodb.repository import DocumentPointer
1211
from nrlf.core.logger import logger
1312
from nrlf.tests.data import load_document_reference
@@ -21,6 +20,17 @@ class LogReference:
2120
pass
2221

2322

23+
POINTER_TYPES = {
24+
"736253002": "Mental Health Crisis Plan",
25+
"1363501000000100": "Royal College of Physicians NEWS2 (National Early Warning Score 2) chart",
26+
"1382601000000107": "ReSPECT (Recommended Summary Plan for Emergency Care and Treatment) form",
27+
"325691000000100": "Contingency plan",
28+
"736373009": "End of life care plan",
29+
"861421000000109": "End of Life Care Coordination Summary",
30+
"887701000000100": "Emergency Health Care Plans",
31+
}
32+
33+
2434
def _generate_record(nhs_number: str, pointer_type: str, ods_code: str):
2535
doc_ref = load_document_reference("Y05868-736253002-Valid")
2636

0 commit comments

Comments
 (0)