We need to import formatted free text. The transcription agency is using "~" as the carriage return line feed indicator. So a piece of text looks like
CC: John W. Smith, M.D.~PRIMARY CARE PHYSICIAN:~Alice W. Jones, M.D.~HISTORY AND HOSPITAL COURSE:~The patient
which Mirth imports as
<OBX.5 xmlns="urn:hl7-org:v2xml">CC: John W. Smith, M.D.</OBX.5>\n<OBX.5 xmlns="urn:hl7-org:v2xml">PRIMARY CARE PHYSICIAN:</OBX.5>\n<OBX.5 xmlns="urn:hl7-org:v2xml">Alice W. Jones, M.D.</OBX.5>\n<OBX.5 xmlns="urn:hl7-org:v2xml">HISTORY AND HOSPITAL COURSE:</OBX.5>\n<OBX.5 xmlns="urn:hl7-org:v2xml">The patient
Of course we cannot send this tagged text to the physician. How do we use Mirth to format the text to:
CC: John W. Smith, M.D.
PRIMARY CARE PHYSICIAN:
Alice W. Jones, M.D.
HISTORY AND HOSPITAL COURSE:
The patient
CC: John W. Smith, M.D.~PRIMARY CARE PHYSICIAN:~Alice W. Jones, M.D.~HISTORY AND HOSPITAL COURSE:~The patient
which Mirth imports as
<OBX.5 xmlns="urn:hl7-org:v2xml">CC: John W. Smith, M.D.</OBX.5>\n<OBX.5 xmlns="urn:hl7-org:v2xml">PRIMARY CARE PHYSICIAN:</OBX.5>\n<OBX.5 xmlns="urn:hl7-org:v2xml">Alice W. Jones, M.D.</OBX.5>\n<OBX.5 xmlns="urn:hl7-org:v2xml">HISTORY AND HOSPITAL COURSE:</OBX.5>\n<OBX.5 xmlns="urn:hl7-org:v2xml">The patient
Of course we cannot send this tagged text to the physician. How do we use Mirth to format the text to:
CC: John W. Smith, M.D.
PRIMARY CARE PHYSICIAN:
Alice W. Jones, M.D.
HISTORY AND HOSPITAL COURSE:
The patient
Comment