#NEWLINE# def implPractitioner3( self , inst ) : #NEWLINE# #INDENT# self . assertEqual ( inst . address [ 0 ] . city , 'Amsterdam' ) #NEWLINE# self . assertEqual ( inst . address [ 0 ] . country , 'NLD' ) #NEWLINE# self . assertEqual ( inst . address [ 0 ] . line [ 0 ] , 'Galapagosweg 91' ) #NEWLINE# self . assertEqual ( inst . address [ 0 ] . postalCode , '1105 AZ' ) #NEWLINE# self . assertEqual ( inst . address [ 0 ] . use , 'work' ) #NEWLINE# self . assertEqual ( inst . birthDate . date , FHIRDate ( '1963-07-01' ) . date ) #NEWLINE# self . assertEqual ( inst . birthDate . as_json ( ) , '1963-07-01' ) #NEWLINE# self . assertEqual ( inst . communication [ 0 ] . coding [ 0 ] . code , 'nl' ) #NEWLINE# self . assertEqual ( inst . communication [ 0 ] . coding [ 0 ] . display , 'Dutch' ) #NEWLINE# self . assertEqual ( inst . communication [ 0 ] . coding [ 0 ] . system , 'urn:oid:2.16.840.1.113883.6.121' ) #NEWLINE# self . assertEqual ( self . gender , 'male' ) #NEWLINE# self . assertEqual ( inst . id , 'f003' ) #NEWLINE# self . assertEqual ( inst . identifier [ 0 ] . system , 'urn:oid:2.16.528.1.1007.3.1' ) #NEWLINE# self . assertEqual ( inst . identifier [ 0 ] . use , 'official' ) #NEWLINE# self . assertEqual ( inst . identifier [ 0 ] . value , '846100293' ) #NEWLINE# self . assertEqual ( inst . identifier [ 1 ] . system , 'urn:oid:2.16.840.1.113883.2.4.6.3' ) #NEWLINE# self . assertEqual ( inst . identifier [ 1 ] . use , 'usual' ) #NEWLINE# self . assertEqual ( inst . identifier [ 1 ] . value , '243HID3RT938' ) #NEWLINE# self . assertEqual ( inst . name . family [ 0 ] , 'Versteegh' ) #NEWLINE# self . assertEqual ( inst . name . given [ 0 ] , 'Marc' ) #NEWLINE# self . assertEqual ( inst . name . suffix [ 0 ] , 'MD' ) #NEWLINE# self . assertEqual ( inst . name . use , 'official' ) #NEWLINE# self . assertEqual ( inst . practitionerRole [ 0 ] . role . coding [ 0 ] . code , '01.000' ) #NEWLINE# self . assertEqual ( inst . practitionerRole [ 0 ] . role . coding [ 0 ] . display , 'Arts' ) #NEWLINE# self . assertEqual ( inst . practitionerRole [ 0 ] . role . coding [ 0 ] . system , 'urn:oid:2.16.840.1.113883.2.4.15.111' ) #NEWLINE# self . assertEqual ( inst . practitionerRole [ 0 ] . role . text , 'Care role' ) #NEWLINE# self . assertEqual ( inst . practitionerRole [ 0 ] . specialty [ 0 ] . coding [ 0 ] . code , '01.011' ) #NEWLINE# self . assertEqual ( inst . practitionerRole [ 0 ] . specialty [ 0 ] . coding [ 0 ] . display , 'Cardiothoracal surgery' ) #NEWLINE# self . assertEqual ( inst . practitionerRole [ 0 ] . specialty [ 0 ] . coding [ 0 ] . system , 'urn:oid:2.16.840.1.113883.2.4.15.111' ) #NEWLINE# self . assertEqual ( inst . practitionerRole [ 0 ] . specialty [ 0 ] . text , 'specialization' ) #NEWLINE# self . assertEqual ( inst . telecom [ 0 ] . system , 'phone' ) #NEWLINE# self . assertEqual ( inst . telecom [ 0 ] . use , 'work' ) #NEWLINE# self . assertEqual ( inst . telecom [ 0 ] . value , '0205562431' ) #NEWLINE# self . assertEqual ( inst . telecom [ 1 ] . system , 'email' ) #NEWLINE# self . assertEqual ( inst . telecom [ 1 ] . use , 'work' ) #NEWLINE# self . assertEqual ( inst . telecom [ 1 ] . value , 'm.versteegh@bmc.nl' ) #NEWLINE# self . assertEqual ( inst . telecom [ 2 ] . system , 'fax' ) #NEWLINE# self . assertEqual ( inst . telecom [ 2 ] . use , 'work' ) #NEWLINE# self . assertEqual ( inst . telecom [ 2 ] . value , '0205662948' ) #NEWLINE# self . assertEqual ( inst . text . status , 'generated' )