Construct representing a logical group or a segment.
| JSON representation | |
|---|---|
{ // Union field |
|
| Fields | ||
|---|---|---|
Union field
|
||
segment |
|
|
group |
|
|
SchemaSegment
An HL7v2 Segment.
| JSON representation | |
|---|---|
{ "type": string, "minOccurs": integer, "maxOccurs": integer } |
|
| Fields | |
|---|---|
type |
The Segment type. For example, "PID". |
minOccurs |
The minimum number of times this segment can be present in this group. |
maxOccurs |
The maximum number of times this segment can be present in this group. 0 or -1 means unbounded. |
SchemaGroup
An HL7v2 logical group construct.
| JSON representation | |
|---|---|
{
"name": string,
"choice": boolean,
"minOccurs": integer,
"maxOccurs": integer,
"members": [
{
object( |
|
| Fields | |
|---|---|
name |
The name of this group. For example, "ORDER_DETAIL". |
choice |
True indicates that this is a choice group, meaning that only one of its segments can exist in a given message. |
minOccurs |
The minimum number of times this group must be present/repeated. |
maxOccurs |
The maximum number of times this group can be repeated. 0 or -1 means unbounded. |
members[] |
Nested groups and/or segments. |