Skip to content

Commit b9d8c0c

Browse files
morsh3dAlex-Nita
authored andcommitted
Remove some instances of the word dummy
1 parent 339cf4d commit b9d8c0c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/mapper/diagnosticreport/DiagnosticReportMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ private Specimen generateDummySpecimen(DiagnosticReport diagnosticReport) {
202202
specimen.setId(DUMMY_SPECIMEN_ID_PREFIX + randomIdGeneratorService.createNewId());
203203

204204
return specimen
205-
.setAccessionIdentifier(new Identifier().setValue("DUMMY"))
205+
.setAccessionIdentifier(new Identifier().setValue("NOT PRESENT"))
206206
.setCollection(new Specimen.SpecimenCollectionComponent().setCollected(new DateTimeType(diagnosticReport.getIssued())))
207207
.setType(new CodeableConcept().setText("UNKNOWN"));
208208
}

service/src/test/resources/ehr/mapper/diagnosticreport/diagnostic-report-with-no-specimen.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<specimen typeCode="SPC">
5959
<specimenRole classCode="SPEC">
6060
<id root="5E496953-065B-41F2-9577-BE8F2FBD0757"/>
61-
<id root="2.16.840.1.113883.2.1.4.5.2" extension="DUMMY"/>
61+
<id root="2.16.840.1.113883.2.1.4.5.2" extension="NOT PRESENT"/>
6262
<effectiveTime>
6363
<center value="20010330162700"/>
6464
</effectiveTime>

service/src/test/resources/ehr/mapper/diagnosticreport/specimen/expected_output_default_empty_specimen.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<specimen typeCode="SPC">
1111
<specimenRole classCode="SPEC">
1212
<id root="5E496953-065B-41F2-9577-BE8F2FBD0757"/>
13-
<id root="2.16.840.1.113883.2.1.4.5.2" extension="DUMMY"/>
13+
<id root="2.16.840.1.113883.2.1.4.5.2" extension="NOT PRESENT"/>
1414
<effectiveTime>
1515
<center value="20100223000000"/>
1616
</effectiveTime>

service/src/test/resources/ehr/mapper/diagnosticreport/specimen/expected_output_default_specimen_and_default_observation.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<specimen typeCode="SPC">
1111
<specimenRole classCode="SPEC">
1212
<id root="5E496953-065B-41F2-9577-BE8F2FBD0757"/>
13-
<id root="2.16.840.1.113883.2.1.4.5.2" extension="DUMMY"/>
13+
<id root="2.16.840.1.113883.2.1.4.5.2" extension="NOT PRESENT"/>
1414
<effectiveTime>
1515
<center value="20100223000000"/>
1616
</effectiveTime>

service/src/test/resources/ehr/mapper/diagnosticreport/specimen/input_default_specimen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
]
88
},
99
"accessionIdentifier": {
10-
"value": "DUMMY"
10+
"value": "NOT PRESENT"
1111
},
1212
"type": {
1313
"text": "UNKNOWN"

0 commit comments

Comments
 (0)