Skip to content

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

@Raseem001

Description

@Raseem001

Sir
I need to Add Repeat Pattern Following Data For Malaffi Submission but the Code Showing Error of Following

Csharp Code

using NHapi.Model.V25.Datatype;
using NHapi.Model.V25.Message;
using NHapi.Model.V25.Segment;
using NHapi.Base.Model;  

var timing = orc.GetQuantityTiming(0);
timing.Quantity.Identifier.Value = "BID";
timing.Quantity.Text.Value = "twice a day at institution-specified times";
timing.Quantity.NameOfCodingSystem.Value = "MALAFFI";
CQ: does not Contain a Definition for 'Identifier' and no accessible extension method 'Identifier' accepting a first argument of type 'CQ' could be found(are you mssing a using directive or an assempbly reference ?)

RDS-O13 ORC Segment Sample Message :

ORC|NW|678998^^SYSTEMCODE|678998^^SYSTEMCODE||active||^QID^four times a day at institution-specified times^MALAFFI^4 Days^20191117120000^20191119180000^R^PRN SNOMED||20191113102719|GD18123^Test1^test4^^^^^^&SYSTEMCODE-DOHID|GD18123^Test1^test4^^^^^^&SYSTEMCODE-DOHID|GD18123^Test1^test4^^^^^^&SYSTEMCODE-DOHID

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions