Closed rbeckman-nextgen closed 4 years ago
Looks like this has been fixed already.
Imported Comment. Original Details: Author: leilanim Created: 2015-06-12T13:17:13.000-0700
Understanding Root Node Attribute http://www.w3schools.com/dom/dom_nodes.asp Everything in an XML document is a node. The entire document is a document node. Every XML element is an element node. The text in the XML elements are text nodes. Every attribute is an attribute node. Comments are comment nodes.
XML template being used for testing
From MC Training > Sample Messages > XML > SampleCCDDocument.xml
For this example the root node is
` <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="CCD.xsl"?>
Payer name | Policy type / Coverage type | Covered party ID | Authorization(s) |
---|---|---|---|
Good Health Insurance | Extended healthcare / Self | 14d4a520-7aae-11db-9fe1-0800200c9a66 | Colonoscopy |
Directive | Description | Verification | Supporting Document(s) |
---|---|---|---|
Resuscitation status | Dr. Robert Dolin, Nov 07, 1999 |
Functional Condition | Effective Dates | Condition Status |
---|---|---|
Dependence on cane | 1998 | Active |
Memory impairment | 1999 | Active |
Condition | Effective Dates | Condition Status |
---|---|---|
Asthma | 1950 | Active |
Pneumonia | Jan 1997 | Resolved |
" | Mar 1999 | Resolved |
Myocardial Infarction | Jan 1997 | Resolved |
Diagnosis | Age At Onset |
---|---|
Myocardial Infarction (cause of death) | 57 |
Hypertension | 40 |
Diagnosis | Age At Onset |
---|---|
Asthma | 30 |
Social History Element | Description | Effective Dates |
---|---|---|
Cigarette smoking | 1 pack per day | 1947 - 1972 |
" | None | 1973 - |
Alcohol consumption | None | 1973 - |
Substance | Reaction | Status |
---|---|---|
Penicillin | Hives | Active |
Aspirin | Wheezing | Active |
Codeine | Nausea | Active |
Medication | Instructions | Start Date | Status |
---|---|---|---|
Albuterol inhalant | 2 puffs QID PRN wheezing | Active | |
Clopidogrel (Plavix) | 75mg PO daily | Active | |
Metoprolol | 25mg PO BID | Active | |
Prednisone | 20mg PO daily | Mar 28, 2000 | Active |
Cephalexin (Keflex) | 500mg PO QID x 7 days (for bronchitis) | Mar 28, 2000 | No longer active |
Albuterol inhalant
Clopidogrel
Metoprolol
Prednisone
Cephalexin
Supply/Device | Date Supplied |
---|---|
Automatic implantable cardioverter/defibrillator | Nov 1999 |
Total hip replacement prosthesis | 1998 |
Wheelchair | 1999 |
Vaccine | Date | Status |
---|---|---|
Influenza virus vaccine, IM | Nov 1999 | Completed |
Influenza virus vaccine, IM | Dec 1998 | Completed |
Pneumococcal polysaccharide vaccine, IM | Dec 1998 | Completed |
Tetanus and diphtheria toxoids, IM | 1997 | Completed |
Influenza virus vaccine
Influenza virus vaccine
Pneumococcal polysaccharide vaccine
Tetanus and diphtheria toxoids
Date / Time: | Nov 14, 1999 | April 7, 2000 |
---|---|---|
Height | 177 cm | 177 cm |
Weight | 86 kg | 88 kg |
Blood Pressure | 132/86 mmHg | 145/88 mmHg |
March 23, 2000 | April 06, 2000 | |
---|---|---|
HGB (M 13-18 g/dl; F 12-16 g/dl) | 13.2 | |
WBC (4.3-10.8 10+3/ul) | 6.7 | |
PLT (135-145 meq/l) | 123* | |
NA (135-145meq/l) | 140 | |
K (3.5-5.0 meq/l) | 4.0 | |
CL (98-106 meq/l) | 102 | |
HCO3 (18-23 meq/l) | 35* |
Procedure | Date |
---|---|
1998 |
Encounter | Location | Date |
---|---|---|
Checkup Examination | Good Health Clinic | Apr 07, 2000 |
Checkup Examination
Planned Activity | Planned Date |
---|---|
Pulmonary function test | April 21, 2000 |
`
Imported Comment. Original Details: Author: minht Created: 2015-08-18T14:17:35.000-0700
Server(s) and URLs Used: Run Mirth Connect on local OSX Yosemite 10.10 Version(s)/Build(s) to reproduce failure: mirthconnect-2.2.3.6825.b80-unix Version(s)/Build(s) to verify fixes: mirthconnect-3.3.0.7719.b1682-unix & mirthconnect-3.0.3.7171.b1190-unix How Tested (list tests run):
Verified Fixed: YES
Imported Comment. Original Details: Author: minht Created: 2015-08-18T14:31:40.000-0700
Checking with Leilani Moscardon on Why each of the "xmlns" is also attribute but they are not listed under Message Trees only the "xsi" is listed, is there a reason for this ?
Imported Comment. Original Details: Author: minht Created: 2015-08-18T14:59:07.000-0700
From Lani Moscardon: so those are namespaces, http://www.w3schools.com/xml/xml_namespaces.asp those generally get stripped from the original document
Imported Comment. Original Details: Author: minht Created: 2015-08-18T17:17:13.000-0700
successfully verified FIXED in mirthconnect-3.3.0.7719.b1682-unix
Imported Comment. Original Details: Author: minht Created: 2015-08-18T17:17:55.000-0700
Mirth Transformer/Filter - Accessing attributes from root node is not possible from Message Tree
Work around: Only drag and drop does not work. You can still write javascript to access root node attributes.
Imported Issue. Original Details: Jira Issue Key: MIRTH-1128 Reporter: dans Created: 2009-06-18T18:24:08.000-0700