AWB displays incorrect line number for error message

Description

One of my new archetypes was getting an error and it’s saying the error is on line 63 but it’s actually on line 61… the value for “occurrences matches” is missing…

INFO (parse_i2) Parsing Archetype differential file
ERROR line 63 [last token = SYM_USE_ARCHETYPE]: (general_error) parse error
ERROR line 63 [last token = SYM_USE_ARCHETYPE]: (SOCCF) Syntax error: expecting an 'occurrences expression', e.g. 'occurrences matches {n..m}'

1 archetype (adl_version=1.5.1;rm_release=2.0.2)
2 CIMI-CORE-ITEM_GROUP.respiratory_allergen_panel___us_in_central_midwest_b_in_serum.v1.0.0
3
4 specialize
5 CIMI-CORE-ITEM_GROUP.laboratory_panel.v1
6
7 language
8 original_language = <[ISO_639-1::en]>
9
10 description
11 original_author = <
12 ["name"] = <"Patrick Langford <patrick@neuronsong.com>">
13 ["organisation"] = <"Intermountain Healthcare <http://intermountainhealthcare.org>">
14 >
15 details = <
16 ["en"] = <
17 language = <[ISO_639-1::en]>
18 purpose = <"Archetype for CIMI 'Respiratory allergen panel, US - Central midwest b - Serum' concept">
19 use = <"Use for Respiratory allergen panel, US - Central midwest b - Serum.">
20 keywords = <"Respiratory","allergen","panel,","US","","Central","midwest","b","","Serum">
21 >
22 >
23 lifecycle_state = <"unmanaged">
24 other_contributors = <"Linda Bird <lbi@ihtsdo.org>","Joey Coyle <joey@xcoyle.com>","Stan Huff <Stan.Huff@imail.org>","Harold Solbrig <Solbrig.Harold@mayo.edu>","Thomas Beale <thomas.beale@oceaninformatics.com>">
25 custodian_namespace = <"org.opencimi">
26 custodian_organisation = <"Clinical Information Modeling Initiative <http://opencimi.org>">
27 licence = <"Creative Commons CC-BY <https://creativecommons.org/licenses/by/3.0/>">
28 copyright = <"Copyright (c) Clinical Information Modelling Initiative <http://opencimi.org>">
29 ip_acknowledgements = <
30 ["loinc"] = <"This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use">
31 ["snomed"] = <"This specification includes SNOMED Clinical Terms® (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organization (IHTSDO). All rights reserved. SNOMED CT® was originally created by the College of American Pathologists. 'SNOMED' and 'SNOMED CT' are registered trademarks of the IHTSDO (www.ihtsdo.org). Use of any SNOMED CT content (including codes, identifiers, terms, expressions or derivatives) in any operational system (including any Data Creation System or Data Analysis System as defined in the SNOMED CT Affiliate License Agreement) is subject to the terms and conditions of the SNOMED CT Affiliate License (www.ihtsdo.org/license.pdf) or to a written variation to that agreement that has been agreed and formally executed between the IHTSDO and the Affiliate Licensee.">
32 >
33 conversion_details = <
34 ["source_model"] = <"<http://s.details.loinc.org/LOINC/48925-2.html>">
35 ["tool"] = <"loincer v0.0.1">
36 ["time"] = <"2014-12-05T05:57:44">
37 >
38
39 definition
40 ITEM_GROUP[id1.1.1.1.1] matches { – Respiratory allergen panel, US - Central midwest b - Serum
41 /item[id5.0.2.1]/value[id0.0.102] matches {[at0.0.0.0.1]} – Respiratory allergen panel, US - Central midwest b - Serum
42 item matches {
43 use_archetype ITEM_GROUP[id0.1.1.1.1, CIMI-CORE-ITEM_GROUP.american_cockroach_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – American Cockroach IgE Ab [Units/volume] in Serum
44 use_archetype ITEM_GROUP[id0.1.1.1.2, CIMI-CORE-ITEM_GROUP.bermuda_grass_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Bermuda grass IgE Ab [Units/volume] in Serum
45 use_archetype ITEM_GROUP[id0.1.1.1.3, CIMI-CORE-ITEM_GROUP.common_ragweed_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Common Ragweed IgE Ab [Units/volume] in Serum
46 use_archetype ITEM_GROUP[id0.1.1.1.4, CIMI-CORE-ITEM_GROUP.dog_epithelium_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Dog epithelium IgE Ab [Units/volume] in Serum
47 use_archetype ITEM_GROUP[id0.1.1.1.5, CIMI-CORE-ITEM_GROUP.white_elm_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – White Elm IgE Ab [Units/volume] in Serum
48 use_archetype ITEM_GROUP[id0.1.1.1.6, CIMI-CORE-ITEM_GROUP.english_plantain_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – English Plantain IgE Ab [Units/volume] in Serum
49 use_archetype ITEM_GROUP[id0.1.1.1.7, CIMI-CORE-ITEM_GROUP.johnson_grass_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Johnson grass IgE Ab [Units/volume] in Serum
50 use_archetype ITEM_GROUP[id0.1.1.1.8, CIMI-CORE-ITEM_GROUP.kentucky_blue_grass_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Kentucky blue grass IgE Ab [Units/volume] in Serum
51 use_archetype ITEM_GROUP[id0.1.1.1.9, CIMI-CORE-ITEM_GROUP.mucor_racemosus_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Mucor racemosus IgE Ab [Units/volume] in Serum
52 use_archetype ITEM_GROUP[id0.1.1.1.10, CIMI-CORE-ITEM_GROUP.nettle_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Nettle IgE Ab [Units/volume] in Serum
53 use_archetype ITEM_GROUP[id0.1.1.1.11, CIMI-CORE-ITEM_GROUP.white_oak_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – White Oak IgE Ab [Units/volume] in Serum
54 use_archetype ITEM_GROUP[id0.1.1.1.12, CIMI-CORE-ITEM_GROUP.penicillium_notatum_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Penicillium notatum IgE Ab [Units/volume] in Serum
55 use_archetype ITEM_GROUP[id0.1.1.1.13, CIMI-CORE-ITEM_GROUP.rough_pigweed_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Rough Pigweed IgE Ab [Units/volume] in Serum
56 use_archetype ITEM_GROUP[id0.1.1.1.14, CIMI-CORE-ITEM_GROUP.sheep_sorrel_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Sheep Sorrel IgE Ab [Units/volume] in Serum
57 use_archetype ITEM_GROUP[id0.1.1.1.15, CIMI-CORE-ITEM_GROUP.stemphylium_botryosum_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Stemphylium botryosum IgE Ab [Units/volume] in Serum
58 use_archetype ITEM_GROUP[id0.1.1.1.16, CIMI-CORE-ITEM_GROUP.american_sycamore_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – American Sycamore IgE Ab [Units/volume] in Serum
59 use_archetype ITEM_GROUP[id0.1.1.1.17, CIMI-CORE-ITEM_GROUP.red_cedar_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Red Cedar IgE Ab [Units/volume] in Serum
60 use_archetype ITEM_GROUP[id0.1.1.1.18, CIMI-CORE-ITEM_GROUP.white_hickory_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – White Hickory IgE Ab [Units/volume] in Serum
61 use_archetype ITEM_GROUP[id0.1.1.1.19, CIMI-CORE-ITEM_GROUP.red_maple_ige_ab_units_per_volume_in_serum.v1] occurrences matches – Red Maple IgE Ab [Units/volume] in Serum
62 use_archetype ITEM_GROUP[id0.1.1.1.20, CIMI-CORE-ITEM_GROUP.red_mulberry_ige_ab_units_per_volume_in_serum.v1] occurrences matches {1} – Red mulberry IgE Ab [Units/volume] in Serum
63 use_archetype ITEM_GROUP[id0.1.2.1.1, CIMI-CORE-ITEM_GROUP.core_respiratory_allergens_panel_in_serum.v1] occurrences matches {0..1} – Core respiratory allergens panel - Serum
64 use_archetype ITEM_GROUP[id0.1.2.1, CIMI-CORE-ITEM_GROUP.laboratory_panel.v1] occurrences matches {0}
65 }
66 }
67 terminology
68 term_definitions = <
69 ["en"] = <
70 ["id1.1.1.1.1"] = <text = <"Respiratory allergen panel, US - Central midwest b - Serum">>
71 ["at0.0.0.0.1"] = <text = <"Respiratory allergen panel, US - Central midwest b - Serum">>
72 ["id0.1.1.1.1"] = <text = <"American Cockroach IgE Ab [Units/volume] in Serum">>
73 ["id0.1.1.1.2"] = <text = <"Bermuda grass IgE Ab [Units/volume] in Serum">>
74 ["id0.1.1.1.3"] = <text = <"Common Ragweed IgE Ab [Units/volume] in Serum">>
75 ["id0.1.1.1.4"] = <text = <"Dog epithelium IgE Ab [Units/volume] in Serum">>
76 ["id0.1.1.1.5"] = <text = <"White Elm IgE Ab [Units/volume] in Serum">>
77 ["id0.1.1.1.6"] = <text = <"English Plantain IgE Ab [Units/volume] in Serum">>
78 ["id0.1.1.1.7"] = <text = <"Johnson grass IgE Ab [Units/volume] in Serum">>
79 ["id0.1.1.1.8"] = <text = <"Kentucky blue grass IgE Ab [Units/volume] in Serum">>
80 ["id0.1.1.1.9"] = <text = <"Mucor racemosus IgE Ab [Units/volume] in Serum">>
81 ["id0.1.1.1.10"] = <text = <"Nettle IgE Ab [Units/volume] in Serum">>
82 ["id0.1.1.1.11"] = <text = <"White Oak IgE Ab [Units/volume] in Serum">>
83 ["id0.1.1.1.12"] = <text = <"Penicillium notatum IgE Ab [Units/volume] in Serum">>
84 ["id0.1.1.1.13"] = <text = <"Rough Pigweed IgE Ab [Units/volume] in Serum">>
85 ["id0.1.1.1.14"] = <text = <"Sheep Sorrel IgE Ab [Units/volume] in Serum">>
86 ["id0.1.1.1.15"] = <text = <"Stemphylium botryosum IgE Ab [Units/volume] in Serum">>
87 ["id0.1.1.1.16"] = <text = <"American Sycamore IgE Ab [Units/volume] in Serum">>
88 ["id0.1.1.1.17"] = <text = <"Red Cedar IgE Ab [Units/volume] in Serum">>
89 ["id0.1.1.1.18"] = <text = <"White Hickory IgE Ab [Units/volume] in Serum">>
90 ["id0.1.1.1.19"] = <text = <"Red Maple IgE Ab [Units/volume] in Serum">>
91 ["id0.1.1.1.20"] = <text = <"Red mulberry IgE Ab [Units/volume] in Serum">>
92 ["id0.1.2.1.1"] = <text = <"Core respiratory allergens panel - Serum">>
93 >
94 >
95 term_bindings = <
96 ["loinc"] = <
97 items = <
98 ["id1.1.1.1.1"] = <http://loinc.org/id/48925-2> – Respiratory allergen panel, US - Central midwest b - Serum
99 ["at0.0.0.0.1"] = <http://loinc.org/id/48925-2> – Respiratory allergen panel, US - Central midwest b - Serum
100 ["id0.1.1.1.1"] = <http://loinc.org/id/30170-5> – American Cockroach IgE Ab [Units/volume] in Serum
101 ["id0.1.1.1.2"] = <http://loinc.org/id/6041-8> – Bermuda grass IgE Ab [Units/volume] in Serum
102 ["id0.1.1.1.3"] = <http://loinc.org/id/6085-5> – Common Ragweed IgE Ab [Units/volume] in Serum
103 ["id0.1.1.1.4"] = <http://loinc.org/id/6099-6> – Dog epithelium IgE Ab [Units/volume] in Serum
104 ["id0.1.1.1.5"] = <http://loinc.org/id/6109-3> – White Elm IgE Ab [Units/volume] in Serum
105 ["id0.1.1.1.6"] = <http://loinc.org/id/6110-1> – English Plantain IgE Ab [Units/volume] in Serum
106 ["id0.1.1.1.7"] = <http://loinc.org/id/6152-3> – Johnson grass IgE Ab [Units/volume] in Serum
107 ["id0.1.1.1.8"] = <http://loinc.org/id/6153-1> – Kentucky blue grass IgE Ab [Units/volume] in Serum
108 ["id0.1.1.1.9"] = <http://loinc.org/id/6182-0> – Mucor racemosus IgE Ab [Units/volume] in Serum
109 ["id0.1.1.1.10"] = <http://loinc.org/id/6186-1> – Nettle IgE Ab [Units/volume] in Serum
110 ["id0.1.1.1.11"] = <http://loinc.org/id/6189-5> – White Oak IgE Ab [Units/volume] in Serum
111 ["id0.1.1.1.12"] = <http://loinc.org/id/6212-5> – Penicillium notatum IgE Ab [Units/volume] in Serum
112 ["id0.1.1.1.13"] = <http://loinc.org/id/6233-1> – Rough Pigweed IgE Ab [Units/volume] in Serum
113 ["id0.1.1.1.14"] = <http://loinc.org/id/6244-8> – Sheep Sorrel IgE Ab [Units/volume] in Serum
114 ["id0.1.1.1.15"] = <http://loinc.org/id/6252-1> – Stemphylium botryosum IgE Ab [Units/volume] in Serum
115 ["id0.1.1.1.16"] = <http://loinc.org/id/6263-8> – American Sycamore IgE Ab [Units/volume] in Serum
116 ["id0.1.1.1.17"] = <http://loinc.org/id/7195-1> – Red Cedar IgE Ab [Units/volume] in Serum
117 ["id0.1.1.1.18"] = <http://loinc.org/id/7407-0> – White Hickory IgE Ab [Units/volume] in Serum
118 ["id0.1.1.1.19"] = <http://loinc.org/id/7479-9> – Red Maple IgE Ab [Units/volume] in Serum
119 ["id0.1.1.1.20"] = <http://loinc.org/id/7514-3> – Red mulberry IgE Ab [Units/volume] in Serum
120 ["id0.1.2.1.1"] = <http://loinc.org/id/51662-5> – Core respiratory allergens panel - Serum
121 >
122 >
123 >

Environment

All

Reporter

Patrick Langford

Labels

None

Components

Affects versions

Priority

Minor
Configure