#NEWLINE# def implMedication1( self , inst ) : #NEWLINE# #INDENT# self . assertEqual ( inst . code . coding [ 0 ] . code , '320442002' ) #NEWLINE# self . assertEqual ( inst . code . coding [ 0 ] . display , 'Salbutamol+ipratropium bromide 100micrograms/20micrograms inhaler' ) #NEWLINE# self . assertEqual ( inst . code . coding [ 0 ] . system , 'http://snomed.info/sct' ) #NEWLINE# self . assertEqual ( inst . id , 'f001' ) #NEWLINE# self . assertTrue ( inst . isBrand ) #NEWLINE# self . assertEqual ( inst . product . form . coding [ 0 ] . code , '420317006' ) #NEWLINE# self . assertEqual ( inst . product . form . coding [ 0 ] . display , 'Inhaler (qualifier value)' ) #NEWLINE# self . assertEqual ( inst . product . form . coding [ 0 ] . system , 'http://snomed.info/sct' ) #NEWLINE# self . assertEqual ( inst . product . ingredient [ 0 ] . amount . denominator . value , 1 ) #NEWLINE# self . assertEqual ( inst . product . ingredient [ 0 ] . amount . numerator . code , 'ml' ) #NEWLINE# self . assertEqual ( inst . product . ingredient [ 0 ] . amount . numerator . system , 'http://unitsofmeasure.org' ) #NEWLINE# self . assertEqual ( inst . product . ingredient [ 0 ] . amount . numerator . unit , 'ml' ) #NEWLINE# self . assertEqual ( inst . product . ingredient [ 0 ] . amount . numerator . value , 100 ) #NEWLINE# self . assertEqual ( inst . text . status , 'generated' )