Skip to content

Commit 2f29e6c

Browse files
Adding injected block from scenario where the only changes made are to DiagnosticReportMapper.java and no changes to other test files.
1 parent 663c0a3 commit 2f29e6c

File tree

1 file changed

+156
-0
lines changed

1 file changed

+156
-0
lines changed

service/src/test/resources/ehr/mapper/encountercomponents/expected-components-1.xml

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,163 @@
431431
</NarrativeStatement>
432432
</component>
433433
<component typeCode="COMP" contextConductionInd="true">
434+
434435
<CompoundStatement classCode="CLUSTER" moodCode="EVN">
436+
<id root="394559384658936"/>
437+
<code code="123038009" codeSystem="2.16.840.1.113883.2.1.3.2.4.15" displayName="specimen (specimen)"/>
438+
<statusCode code="COMPLETE"/>
439+
<effectiveTime>
440+
<center nullFlavor="NI"/>
441+
</effectiveTime>
442+
<availabilityTime value="20100225154100"/>
443+
<specimen typeCode="SPC">
444+
<specimenRole classCode="SPEC">
445+
<id root="394559384658936"/>
446+
<id root="2.16.840.1.113883.2.1.4.5.2" extension="DUMMY"/>
447+
<effectiveTime>
448+
<center value="20100225154100"/>
449+
</effectiveTime>
450+
<specimenSpecimenMaterial determinerCode="INSTANCE" classCode="MAT">
451+
<desc>UNKNOWN</desc>
452+
</specimenSpecimenMaterial>
453+
</specimenRole>
454+
</specimen>
455+
<component typeCode="COMP" contextConductionInd="true">
456+
<CompoundStatement classCode="CLUSTER" moodCode="EVN">
457+
<id root="394559384658936"/>
458+
<code nullFlavor="UNK"><originalText>Mocked code</originalText></code>
459+
<statusCode code="COMPLETE"/>
460+
<effectiveTime>
461+
<center value="20100223"/>
462+
</effectiveTime>
463+
<availabilityTime value="20100223"/>
464+
<component typeCode="COMP" contextConductionInd="true">
465+
<ObservationStatement classCode="OBS" moodCode="EVN">
466+
<id root="394559384658936"/>
467+
<code nullFlavor="UNK"><originalText>Mocked code</originalText></code>
468+
<statusCode code="COMPLETE"/>
469+
<effectiveTime>
470+
<center value="20100223"/>
471+
</effectiveTime>
472+
<availabilityTime value="20100223"/>
473+
</ObservationStatement>
474+
</component>
475+
<component typeCode="COMP" contextConductionInd="true">
476+
<NarrativeStatement classCode="OBS" moodCode="EVN">
477+
<id root="394559384658936"/>
478+
<text mediaType="text/x-h7uk-pmip">CommentType:AGGREGATE COMMENT SET
479+
CommentDate:20100223
480+
481+
NEGATIVE
482+
In normal pregnancies the test will usually be positive from the
483+
second day after the expected menstruation.</text>
484+
<statusCode code="COMPLETE"/>
485+
<availabilityTime value="20100223"/>
486+
</NarrativeStatement>
487+
</component>
488+
<component typeCode="COMP" contextConductionInd="true">
489+
<NarrativeStatement classCode="OBS" moodCode="EVN">
490+
<id root="394559384658936"/>
491+
<text mediaType="text/x-h7uk-pmip">CommentType:USER COMMENT
492+
CommentDate:20201215151704
493+
494+
(q) - Normal - No Action</text>
495+
<statusCode code="COMPLETE"/>
496+
<availabilityTime value="20201215151704"/>
497+
</NarrativeStatement>
498+
</component>
499+
</CompoundStatement>
500+
</component><component typeCode="COMP" contextConductionInd="true">
501+
<CompoundStatement classCode="CLUSTER" moodCode="EVN">
502+
<id root="394559384658936"/>
503+
<code nullFlavor="UNK"><originalText>Mocked code</originalText></code>
504+
<statusCode code="COMPLETE"/>
505+
<effectiveTime>
506+
<center value="20100223"/>
507+
</effectiveTime>
508+
<availabilityTime value="20100223"/>
509+
<component typeCode="COMP" contextConductionInd="true">
510+
<ObservationStatement classCode="OBS" moodCode="EVN">
511+
<id root="394559384658936"/>
512+
<code nullFlavor="UNK"><originalText>Mocked code</originalText></code>
513+
<statusCode code="COMPLETE"/>
514+
<effectiveTime>
515+
<center value="20100223"/>
516+
</effectiveTime>
517+
<availabilityTime value="20100223"/>
518+
<value xsi:type="PQ" value="8.800" unit="1">
519+
<translation value="8.800">
520+
<originalText>mmol/L</originalText>
521+
</translation>
522+
</value>
523+
<referenceRange typeCode="REFV">
524+
<referenceInterpretationRange classCode="OBS" moodCode="EVN.CRT">
525+
<value><low value="10.000"/><high value="90.000"/></value>
526+
</referenceInterpretationRange>
527+
</referenceRange>
528+
529+
</ObservationStatement>
530+
</component>
531+
<component typeCode="COMP" contextConductionInd="true">
532+
<NarrativeStatement classCode="OBS" moodCode="EVN">
533+
<id root="394559384658936"/>
534+
<text mediaType="text/x-h7uk-pmip">CommentType:USER COMMENT
535+
CommentDate:20201215151713
536+
537+
(q) - Normal - No Action</text>
538+
<statusCode code="COMPLETE"/>
539+
<availabilityTime value="20201215151713"/>
540+
</NarrativeStatement>
541+
</component>
542+
</CompoundStatement>
543+
</component><component typeCode="COMP" contextConductionInd="true">
544+
<CompoundStatement classCode="CLUSTER" moodCode="EVN">
545+
<id root="394559384658936"/>
546+
<code nullFlavor="UNK"><originalText>Mocked code</originalText></code>
547+
<statusCode code="COMPLETE"/>
548+
<effectiveTime>
549+
<center value="20100223"/>
550+
</effectiveTime>
551+
<availabilityTime value="20100223"/>
552+
<component typeCode="COMP" contextConductionInd="true">
553+
<ObservationStatement classCode="OBS" moodCode="EVN">
554+
<id root="394559384658936"/>
555+
<code nullFlavor="UNK"><originalText>Mocked code</originalText></code>
556+
<statusCode code="COMPLETE"/>
557+
<effectiveTime>
558+
<center value="20100223"/>
559+
</effectiveTime>
560+
<availabilityTime value="20100223"/>
561+
</ObservationStatement>
562+
</component>
563+
<component typeCode="COMP" contextConductionInd="true">
564+
<NarrativeStatement classCode="OBS" moodCode="EVN">
565+
<id root="394559384658936"/>
566+
<text mediaType="text/x-h7uk-pmip">CommentType:AGGREGATE COMMENT SET
567+
CommentDate:20100223
568+
569+
Test not available</text>
570+
<statusCode code="COMPLETE"/>
571+
<availabilityTime value="20100223"/>
572+
</NarrativeStatement>
573+
</component>
574+
<component typeCode="COMP" contextConductionInd="true">
575+
<NarrativeStatement classCode="OBS" moodCode="EVN">
576+
<id root="394559384658936"/>
577+
<text mediaType="text/x-h7uk-pmip">CommentType:USER COMMENT
578+
CommentDate:20201215151713
579+
580+
(q) - Normal - No Action</text>
581+
<statusCode code="COMPLETE"/>
582+
<availabilityTime value="20201215151713"/>
583+
</NarrativeStatement>
584+
</component>
585+
</CompoundStatement>
586+
</component>
587+
</CompoundStatement>
588+
</component><component typeCode="COMP" contextConductionInd="true">
589+
590+
<CompoundStatement classCode="CLUSTER" moodCode="EVN">
435591
<id root="394559384658936"/>
436592
<code code="123038009" codeSystem="2.16.840.1.113883.2.1.3.2.4.15" displayName="specimen (specimen)"/>
437593
<statusCode code="COMPLETE"/>

0 commit comments

Comments
 (0)