Order of elements under SubstanceAdministration
psharp
#1 Posted : Tuesday, January 21, 2014 7:32:48 PM(UTC)
Rank: Member

Groups: Registered
Joined: 11/12/2013(UTC)
Posts: 19
Points: 57

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
Hey Justin,

When i output my substanceAdministration element my entryRelationships appear before my consumable. The sequence in the schema i have has consumable before any entryRelationships. Can you check this and let me know if it's an error in my schema?
cristip
#2 Posted : Tuesday, January 28, 2014 3:42:59 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/28/2014(UTC)
Posts: 5
Points: 15
Location: Bucharest

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
psharp wrote:
Hey Justin,

When i output my substanceAdministration element my entryRelationships appear before my consumable. The sequence in the schema i have has consumable before any entryRelationships. Can you check this and let me know if it's an error in my schema?


Hi Justin,

I'm having this issue too. I've seen that you've recorded an issue for this (Bug-16203).
Do you have an estimate for a fix? I'm depending on it... as the CDA output is invalid.

Thx
justin.fyfe1
#3 Posted : Tuesday, January 28, 2014 10:23:49 PM(UTC)

Rank: Administration

Medals: Mobile Tech Grasshopper: Mobile Tech GrasshopperHealth Informatics MVP

Groups: Registered, Administrators
Joined: 7/22/2010(UTC)
Posts: 96
Points: 297
Man
Location: Hamilton, ON

Thanks: 2 times
Was thanked: 17 time(s) in 17 post(s)
I have identified the issue and will correct. Unfortunately I don't have a complete copy of 1.2 to generate the new assembly with, I'm travelling and only have the 1.3 unstable branch on this laptop (terrible hotel Wi-Fi won't let me download 1.2 either).

I will fix this in the 1.2 source code and integrate it into a new 1.2.x release when I am back in the office in the morning. I will generate a copy of the assembly of the 1.3 branch with the fix integrated and will post this as a workaround for this issue until the 1.2.x release is distributed. This shouldn't cause a problem as the core Everest assembly has not changed significantly between 1.2.x and 1.3 (which is the 1.4 dev branch).

Should have this tomorrow.
justin.fyfe1
#4 Posted : Tuesday, January 28, 2014 10:38:37 PM(UTC)

Rank: Administration

Medals: Mobile Tech Grasshopper: Mobile Tech GrasshopperHealth Informatics MVP

Groups: Registered, Administrators
Joined: 7/22/2010(UTC)
Posts: 96
Points: 297
Man
Location: Hamilton, ON

Thanks: 2 times
Was thanked: 17 time(s) in 17 post(s)
I have generated a new copy of the CDA code. I have attached the generated source code with the binary. Note that the MARC.Everest assembly contained in lib/ is the 1.3 version of Everest not the 1.2 version. You should be able to drop the 1.2 assembly from C:\Program Files(x86)\Mohawk College\Everest\lib into that directory and it should compile producing a valid assembly.

Note I have not run full unit tests on this, but it does appear the [Property(... SortKey=x)] attributes on SubstanceAdministration class are in the correct order. If not can you can update them manually for your testing and post the bugs and I will continue to investigate.

Cheers
-Justin
justin.fyfe1
#5 Posted : Tuesday, January 28, 2014 10:44:41 PM(UTC)

Rank: Administration

Medals: Mobile Tech Grasshopper: Mobile Tech GrasshopperHealth Informatics MVP

Groups: Registered, Administrators
Joined: 7/22/2010(UTC)
Posts: 96
Points: 297
Man
Location: Hamilton, ON

Thanks: 2 times
Was thanked: 17 time(s) in 17 post(s)
Sorry : http://te.marc-hi.ca/projects/ev/downloads/cs.zip

1 user thanked justin.fyfe1 for this useful post.
cristip on 1/29/2014(UTC)
cristip
#6 Posted : Wednesday, January 29, 2014 6:10:54 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/28/2014(UTC)
Posts: 5
Points: 15
Location: Bucharest

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Hi,

Unfortunately I cannot build it with Everest core v1.2:
C:\...\RIM\InfrastructureRoot.cs(40,117): error CS0234: The type or namespace name 'IImplementsTemplateId' does not exist in the namespace 'MARC.Everest.Interfaces' (are you missing an assembly reference?)

If I comment out this interface I get:
C:\...\RIM\InfrastructureRoot.cs(81,60): error CS0117: 'MARC.Everest.Attributes.MarkerAttribute.MarkerAttributeType' does not contain a definition for 'TypeId'
C:\...\RIM\InfrastructureRoot.cs(96,60): error CS0117: 'MARC.Everest.Attributes.MarkerAttribute.MarkerAttributeType' does not contain a definition for 'TemplateId'

I think I would wait for an official release.

Thanks a lot,
--
Cristi
cristip
#7 Posted : Wednesday, January 29, 2014 6:39:12 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/28/2014(UTC)
Posts: 5
Points: 15
Location: Bucharest

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
I'll try to get a copy of 1.2 from SVN, and edit your change...
Hope it works...
cristip
#8 Posted : Wednesday, January 29, 2014 7:03:16 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/28/2014(UTC)
Posts: 5
Points: 15
Location: Bucharest

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Unfortunately I couldn't find this project: MARC.Everest.RMIM.UV.CDAr2 on https://fisheye.marc-hi.ca/svn/Everest/tags/1.2.12/
So I'm stuck again...
justin.fyfe1
#9 Posted : Wednesday, January 29, 2014 9:07:52 AM(UTC)

Rank: Administration

Medals: Mobile Tech Grasshopper: Mobile Tech GrasshopperHealth Informatics MVP

Groups: Registered, Administrators
Joined: 7/22/2010(UTC)
Posts: 96
Points: 297
Man
Location: Hamilton, ON

Thanks: 2 times
Was thanked: 17 time(s) in 17 post(s)
Hi,

That is interesting, the link appears to work for me. I have updated the file at http://te.marc-hi.ca/projects/ev/downloads/cs.zip to be the 1.2 version.

Please note that I haven't run any unit tests on this assembly, but it should fix what your problem is with the ordering of elements.
cristip
#10 Posted : Thursday, January 30, 2014 6:48:45 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/28/2014(UTC)
Posts: 5
Points: 15
Location: Bucharest

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Thanks for your effort. I will integrate the new file.
As for my previous comment, I too can access the link, but I couldn't find the source code for this project: MARC.Everest.RMIM.UV.CDAr2 (the one you included in the archive).
Could you point out where is MARC.Everest.RMIM.UV.CDAr2 source code located on SVN?
justin.fyfe1
#11 Posted : Thursday, January 30, 2014 9:46:55 AM(UTC)

Rank: Administration

Medals: Mobile Tech Grasshopper: Mobile Tech GrasshopperHealth Informatics MVP

Groups: Registered, Administrators
Joined: 7/22/2010(UTC)
Posts: 96
Points: 297
Man
Location: Hamilton, ON

Thanks: 2 times
Was thanked: 17 time(s) in 17 post(s)
No problem, let me know how it works.

We don't post the code for generated versions of Everest because we never got a clear answer if it would violate the IP agreement of HL7v3 standards at the time. The college is a corporate member of HL7 so we can distribute works based on the standard, but we couldn't post thing verbatim (the reason earlier versions had no comments). The new IP policy at HL7 might change this, I will ask someone at the next HL7 WGM.

psharp
#12 Posted : Monday, March 3, 2014 1:05:22 AM(UTC)
Rank: Member

Groups: Registered
Joined: 11/12/2013(UTC)
Posts: 19
Points: 57

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
Hi Justin,

Is this fix going to be rolled into a 1.2.x release?
justin.fyfe1
#13 Posted : Monday, March 3, 2014 4:47:18 AM(UTC)

Rank: Administration

Medals: Mobile Tech Grasshopper: Mobile Tech GrasshopperHealth Informatics MVP

Groups: Registered, Administrators
Joined: 7/22/2010(UTC)
Posts: 96
Points: 297
Man
Location: Hamilton, ON

Thanks: 2 times
Was thanked: 17 time(s) in 17 post(s)
Yes it will be. I was awaiting the code signing key to arrive from our IT department however it still hasn't come. I will post a new 1.2.x release (unsigned again) this week.
justin.fyfe1
#14 Posted : Monday, March 3, 2014 4:13:04 PM(UTC)

Rank: Administration

Medals: Mobile Tech Grasshopper: Mobile Tech GrasshopperHealth Informatics MVP

Groups: Registered, Administrators
Joined: 7/22/2010(UTC)
Posts: 96
Points: 297
Man
Location: Hamilton, ON

Thanks: 2 times
Was thanked: 17 time(s) in 17 post(s)
Per my last post. This fix is now in the 1.2.13 (unsigned) release of Everest.

Cheers
-Justin
Users browsing this topic
Guest (7)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

SoClean Theme By Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.148 seconds.