Skip to content

Issue with LForms.Util.getFormHL7Data() #163

@clepcm-ai

Description

@clepcm-ai

would it be possible to return the score in the hl7 for the answers, I see the scores only come from the LForms.Util.getUserData() which returns too much information, would love to just use HL7 command instead.

Hunger Vital Signs form
https://forms.loinc.org/88121-9

"OBR|1|88121-9^Hunger Vital Sign [HVS]^LN|\rOBX|1|CNE|88122-7^(I/We) worried whether (my/our) food would run out before (I/we) got money to buy more.^LN||LA28397-0^Often true^LN|\rOBX|2|CNE|88123-5^The food that (I/we) bought just didn't last, and (I/we) didn't have money to get more.^LN||LA28398-8^Never true^LN|\r"

perhaps LA28397-0^Often true^LN^1 the score could be the final carrot
LA28398-8^Never true^LN^0 score being final carrot.

Because these values need to be summed, it would be much easier than to have to parse the command: LForms.Util.getUserData() which does show everything, but harder to parse, using VB6
Thanks
Clifford

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions