Skip to content

HL7 Message ORC Segment GetQuantityTiming Part Cant Able to Add RepeatPattern Subelements Using NHapi.Model.V25 #620

Answered by milkshakeuk
Raseem001 asked this question in Q&A
Discussion options

You must be logged in to vote

If you need it exactly as per the sample, you would need to assign values that do not match the fields intended use case:

var timing = orc.GetQuantityTiming(0);
timing.Interval.RepeatPattern.Value = "QID";
timing.Duration.Value = "four times a day at institution-specified times"; // is this a duration?
timing.StartDateTime.Time.Value = "MALAFFI"; // doesn't look like a Start Date Time?
timing.EndDateTime.Time.Value = "4 Days";    // again doesn't look like a DateTime
timing.Priority.Value = "20191117120000";    // assigning a date to priority?
timing.Condition.Value = "20191119180000";   // assigning a date to a condition?
timing.Text.Value = "R";                     // pretty sure this i…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by milkshakeuk
Comment options

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

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
Converted from issue

This discussion was converted from issue #619 on December 12, 2024 13:31.