create field with components in HL7 Varient

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf create field with components in HL7 Varient

  • Creator
  • #49659
    Bahram Aziz


    I have Quovadx 5.5 server running on Windows 2003 server.

    I am creating a new HL7 2.3 varient.

    In the field tab a create a new field and I call it field1.

    In the Segment tab, I create a Segment called Z01 segment.

    I add this new segment to a new Message which I create in the messages tab.

    My question, when I use this varient in a new translation, I notice that the field only has one component, which is test component.

    This is what I want to do. I want to create a field for a z segment which will have 2 text components.

    In other words the field, will look like this in hl7.



    How do I create my own type in the Quovadx 5.5 IDE. Does the IDE allow me to create a type which will have 2 text components, so that when I create a new field in my varient, then it will have two componets.

    Does Quovadx 5.5 allow users to create their own types which could be used to create a field, when creating a hl7 varient.

    If this is possible, how do you do this?



Viewing 2 reply threads
  • Author
    • #62909
      Robert Milfajt

      Just use a type that has multiple components already, like CE.

      Robert Milfajt
      Northwestern Medicine
      Chicago, IL

    • #62910
      Jim Kosloskey

      As far as I know you cannot easily define your own Data Types to Cloverleaf(R).

      It might be possible to change the distributed Data Types but then that woudl be clobbered with the distributed version each upgrade – probably a disaster waiting to happen.

      However it does not matter.

      You can use Text (TX) even.

      Of course you won’t see the components in the message tree in the Xlate but you can still reference the components using the address path notation for the field.

      Such as 0(0).MSA(0).0020(0).[0] which point to the first component of the MSA 0020 field and 0(0).MSA(0).0020(0).[1] which points to the second component (the [] encompases the component reference).

      Be aware that using Data Types such as CE while doable may not give you a verfy meaningful and perhaps misleading structure for the particular field you wish to define.

      SO whenever I define a User Field (and I try to resist Z segments and User fields – that is another rant) I tend to use CM (Composite) as the Data Type to remind me there probably are multiple components in this field.

      Jim Kosloskey


    • #62911
      John Hamilton

      When you add the field to your segment when defining the HL7 variant.

      On the right hand side there is a selection where you can tell the system the field repeats and how many times it can repeat.

Viewing 2 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
Topic Tags