ON datatype
fieranmason@gmail.com
#1 Posted : Wednesday, July 24, 2013 11:39:36 AM(UTC)
Rank: Member

Groups: Registered
Joined: 7/8/2013(UTC)
Posts: 22
Points: 66
Location: University of Victoria

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
Dear Everest,

In our implementation of the E2E spec on the west coast we have run into an issue with the ON datatype.

The schema we have been provided has the following case

A name is required but a use isn't.

The ON datatype in everest 1.2.4 does not support this functionality so far as we can tell.

Could someone either instruct us on how to do this, or could this otherwise be changed?

Thanks so much for your great support.

Fieran
1 user thanked fieranmason@gmail.com for this useful post.
Ernestoarber on 9/29/2019(UTC)
justin.fyfe1
#2 Posted : Wednesday, July 24, 2013 2:20: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)
I'm not sure if I understand your question ... I don't think there is any requirement for "Use" to be populated in the ON datatype ... You should be able to do this:

Code:
ON.CreateON(null, new ENXP("Good Health Hospital")


For example:

Code:

doc.DataEnterer = new DataEnterer() {
            AssignedEntity = new AssignedEntity()
            {
                RepresentedOrganization = new Organization()
                {
                    Name = SET<ON>.CreateSET(ON.CreateON(null, new ENXP("Good Health Hospital")))
                }
            }
        };


Results in this:

Code:

<dataEnterer typeCode="ENT" contextControlCode="OP">
    <assignedEntity classCode="ASSIGNED">
      <representedOrganization classCode="ORG" determinerCode="INSTANCE">
        <name>Good Health Hospital</name>
      </representedOrganization>
    </assignedEntity>
  </dataEnterer>


Cheers
-Justin
Users browsing this topic
Guest
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.092 seconds.