⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Discussion options

You must be logged in to vote

That is because you don't add NTE to OBX you can add NTE to ORU_R01_ORDER_OBSERVATION which is what you are referencing above and you can also add NTE segments to ORU_R01_OBSERVATION which is what you are after.

Here is an example of what I think you are trying to do.

// your existing method
public static void CreateNote(ORU_R01_ORDER_OBSERVATION orderObservation, string? comment)
{
    var nte = orderObservation.AddNTE();
    nte.SetIDNTE.Value = orderObservation.NTERepetitionsUsed.ToString();
    //see https://hl7-definition.caristix.com/v2/HL7v2.5.1/Tables/0105 for list of valid sources
    nte.SourceOfComment.Value = "L";
    nte.GetComment(0).Value = comment;
}

// new method for obs…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bilago
Comment options

Answer selected by bilago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants