aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_bin_SUITE_data/Null.py
blob: 23e5f381401aff590a3b5147f22b0fe40836b56f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Null DEFINITIONS ::=
BEGIN

-- F.2.9	Null
-- Use a null type to indicate the effective absence of a component 
-- of a sequence.
-- EXAMPLE

PatientIdentifier ::= SEQUENCE {
	name			VisibleString,
	roomNumber	CHOICE {
		room			INTEGER,
		outPatient		NULL  --  if an out-patient  --
	}
}
	
lastPatient PatientIdentifier ::= {
	name					"Jane Doe",
	roomNumber			outPatient : NULL
}

END