Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8299cab3 authored by Alexandre Pocinho's avatar Alexandre Pocinho
Browse files

[ANSBP-346/366] Add MSH21 fill segment method to Encounter message

parent 0eb68d6f
No related branches found
No related tags found
No related merge requests found
...@@ -675,6 +675,8 @@ public class IHEPESMessageGenerator extends AbstractHL7MessageGenerator implemen ...@@ -675,6 +675,8 @@ public class IHEPESMessageGenerator extends AbstractHL7MessageGenerator implemen
if (bp6Mode) { if (bp6Mode) {
mshSegment.getVersionID().getInternationalizationCode().getIdentifier().setValue(PatientManagerConstants.FRA); mshSegment.getVersionID().getInternationalizationCode().getIdentifier().setValue(PatientManagerConstants.FRA);
mshSegment.getVersionID().getInternationalVersionID().getIdentifier().setValue(PatientManagerConstants.PAM_FR_VERSION); mshSegment.getVersionID().getInternationalVersionID().getIdentifier().setValue(PatientManagerConstants.PAM_FR_VERSION);
mshSegment.getMessageProfileIdentifier(0).getEntityIdentifier().setValue(PatientManagerConstants.PAM_FR_VERSION);
mshSegment.getMessageProfileIdentifier(0).getNamespaceID().setValue(PatientManagerConstants.IHE_FRANCE.concat("-").concat(PatientManagerConstants.PAM_FR_VERSION).concat("-").concat(PatientManagerConstants.PAM));
} }
if (selectedSUT.getCharset() != null) { if (selectedSUT.getCharset() != null) {
mshSegment.getCharacterSet(0).setValue(selectedSUT.getCharset().getHl7Code()); mshSegment.getCharacterSet(0).setValue(selectedSUT.getCharset().getHl7Code());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment