tclproc vs. xlate

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf tclproc vs. xlate

  • Creator
    Topic
  • #50172
    Kevin Crist
    Participant

    how do you know when to use a tclproc or xlate. i understand  that xlates are preferred if possible. sorry for the dumb question. just a beginner.

Viewing 3 reply threads
  • Author
    Replies
    • #65100
      Nate Kruse
      Participant

      Ours is mostly user preference; however, we would rather use xlates when possible as it does a few things:

      1.  self documents

      2.  new employees will likely pick up xlates faster than learning tcl (if not from a programming background).

      3.  xlates have a standardized structure, tcl code is dependent on the user coding it.  Each person codes tcl differently.

    • #65101
      Kevin Crist
      Participant

      thanks. i am trying to move a what is populated in an ft1-28 field to the ft1-9. My initial thought was to do it in an xlate. when i got to looking the ft1 only shows 25 fields in the segment. so i was kind of torn between tcl proc and trying to make a new field in the hl7 configurator. I am new to interfaces and this is my first real project. so i am little slow and unsure.

    • #65102

      Moving fields around is usually best done in an xlate.

      -- Max Drown (Infor)

    • #65103
      Jared Miller
      Participant

      I would go with using an xlate in this situation, but I agree that it is a user preference.

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

Forum Statistics

Registered Users
5,044
Forums
28
Topics
9,200
Replies
34,021
Topic Tags
267