Hi Team,
I have the following record defined with type inclusion;
public type CustomCodeableConcept record {|
*core:CodeableConcept;
core:Coding[] coding?;
CustomCodingType[] v2Coding;
string id?;
string text?;
|};
Record definition of CodeableConcept in core package;
public type CodeableConcept record {|
*Element;
string id?;
Coding[] coding?;
string text?;
|};
When the CustomCodingType[] v2Coding; is added to the record, it does not get identified as a subtype of CodeableConcept core type.
Am I doing something wrong here, or is there any workaround to get this resolved?