/* ĠCopyright Ġ 2 0 2 1 ĠBetter ĠLtd Ġ( www . better . care ) Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ package Ġcare . better . platform . web . template . converter Ċ Ċ import Ġcare . better . platform . web . template . Web Template Ċ import Ġcare . better . platform . web . template . ab straction . Abstract Web Template Test Ċ import Ġcare . better . platform . web . template . converter . raw . context . Conversion Context Ċ import Ġcom . google . common . collect . Immutable Map Ċ import Ġcare . better . platform . web . template . builder . context . Web Template Builder Context Ċ import Ġcare . better . platform . web . template . builder . Web Template Builder Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . assertj . core . api . Assertions . entry Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġorg . open e hr . rm . common . Party Ident ified Ċ import Ġorg . open e hr . rm . common . Party Related Ċ import Ġorg . open e hr . rm . common . Party Self Ċ import Ġorg . open e hr . rm . composition . Composition Ċ import Ġorg . open e hr . rm . composition . Evaluation Ċ import Ġorg . open e hr . rm . composition . Observation Ċ import Ġorg . open e hr . rm . composition . Section Ċ import Ġjava . io . IOException Ċ import Ġjavax . xml . bind . JAXB Exception Ċ Ċ /** Ċ Ġ* Ġ@ author ĠPri moz ĠDe lop st Ċ Ġ* Ġ@ since Ġ 3 . 1 . 0 Ċ Ġ*/ Ċ class ĠSubject Test Ġ: ĠAbstract Web Template Test () Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġ@ Throws ( IOException :: class , ĠJAXB Exception :: class ) ĊĠĠĠ Ġfun Ġtest Entry Subject () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbuilder Context Ġ= ĠWeb Template Builder Context (" sl ") ĊĠĠĠĠĠĠĠ Ġval Ġweb Template : ĠWeb Template Ġ= ĠWeb Template Builder . build NonNull ( get Template ("/ convert / templates / Demo ĠV it als . opt "), Ġbuilder Context ) ĊĠĠĠĠĠĠĠ Ġval Ġcomposition : ĠComp osition ? Ġ= Ġweb Template . convert From Flat To Raw ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠImmutableMap . builder < String , ĠString >() ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / language ", Ġ" sl ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / ter rit ory ", Ġ" SI ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / id _ scheme ", Ġ" is pe k ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / id _ namespace ", Ġ" is pe k ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / composer _ name ", Ġ" Ge orge ĠOr well ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" vit als / vit als / ha em og lob in _ a 1 c / any _ event / test _ status | termin ology ", Ġ" local ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" vit als / vit als / ha em og lob in _ a 1 c / any _ event / test _ status | code ", Ġ" at 0 0 3 7 ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build (), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠConversion Context . create (). build ()) ĊĠĠĠĠĠĠĠ Ġval Ġflat Map : ĠMap < String , ĠString ?> Ġ= Ġweb Template . convert Formatted From Raw To Flat ( composition !! , ĠFrom Raw Conversion . create ()) ĊĠĠĠĠĠĠĠ ĠassertThat ( flatMap . keys ). does Not Contain (" vit als / vit als / ha em og lob in _ a 1 c : 0 / subject | name ", Ġ" vit als / vit als / ha em og lob in _ a 1 c : 0 / subject | id ") ĊĊĠĠĠĠĠĠĠ Ġval Ġsection Ġ= Ġcomposition . content [ 0 ] Ġas ĠSection ĊĠĠĠĠĠĠĠ Ġval Ġobservation Ġ= Ġsection . items [ 0 ] Ġas ĠOb servation ĊĠĠĠĠĠĠĠ ĠassertThat ( observation . subject ). isInstanceOf ( Party Self :: class . java ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġ@ Throws ( IOException :: class , ĠJAXB Exception :: class ) ĊĠĠĠ Ġfun Ġtest Constr ained Entry Subject () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbuilder Context Ġ= ĠWeb Template Builder Context (" sl ") ĊĠĠĠĠĠĠĠ Ġval Ġweb Template : ĠWeb Template Ġ= ĠWeb Template Builder . build NonNull ( get Template ("/ convert / templates / Test Ġconstr ained Ġsubject . opt "), Ġbuilder Context ) ĊĠĠĠĠĠĠĠ Ġval Ġcomposition : ĠComp osition ? Ġ= Ġweb Template . convert From Flat To Raw ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠImmutableMap . builder < String , ĠString >() ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / language ", Ġ" sl ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / ter rit ory ", Ġ" SI ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / id _ scheme ", Ġ" is pe k ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / id _ namespace ", Ġ" is pe k ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / composer _ name ", Ġ" Ge orge ĠOr well ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" test _ constrained _ subject / mat ern al _ pre gn ancy : 0 / mat ern al _ age ", Ġ" P 2 5 Y ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build (), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠConversion Context . create (). build ()) ĊĠĠĠĠĠĠĠ Ġval Ġflat Map : ĠMap < String , ĠString ?> Ġ= Ġweb Template . convert Formatted From Raw To Flat ( composition !! , ĠFrom Raw Conversion . create ()) ĊĠĠĠĠĠĠĠ ĠassertThat ( flatMap . keys ). does Not Contain ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ" test _ constrained _ subject / mat ern al _ pre gn ancy : 0 / subject | name ", ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ" test _ constrained _ subject / mat ern al _ pre gn ancy : 0 / subject | id ") ĊĊĠĠĠĠĠĠĠ Ġval Ġevaluation Ġ= Ġcomposition . content [ 0 ] Ġas ĠEvaluation ĊĠĠĠĠĠĠĠ ĠassertThat ( evaluation . subject ). isInstanceOf ( Party Related :: class . java ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġ@ Throws ( IOException :: class , ĠJAXB Exception :: class ) ĊĠĠĠ Ġfun Ġtest Custom Entry Subject () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbuilder Context Ġ= ĠWeb Template Builder Context (" sl ") ĊĠĠĠĠĠĠĠ Ġval Ġweb Template : ĠWeb Template Ġ= ĠWeb Template Builder . build NonNull ( get Template ("/ convert / templates / Demo ĠV it als . opt "), Ġbuilder Context ) ĊĠĠĠĠĠĠĠ Ġval Ġcomposition : ĠComp osition ? Ġ= Ġweb Template . convert From Flat To Raw ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠImmutableMap . builder < String , ĠString >() ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / language ", Ġ" sl ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / ter rit ory ", Ġ" SI ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / id _ scheme ", Ġ" is pe k ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / id _ namespace ", Ġ" is pe k ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / composer _ name ", Ġ" Ge orge ĠOr well ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" vit als / vit als / ha em og lob in _ a 1 c / any _ event / test _ status | termin ology ", Ġ" local ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" vit als / vit als / ha em og lob in _ a 1 c / any _ event / test _ status | code ", Ġ" at 0 0 3 7 ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" vit als / vit als / ha em og lob in _ a 1 c / subject | name ", Ġ" M ari ja ĠMed ved ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" vit als / vit als / ha em og lob in _ a 1 c / subject | id ", Ġ" 9 9 8 ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build (), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠConversion Context . create (). build () ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġval Ġflat Map : ĠMutable Map < String , ĠString ?> Ġ= Ġweb Template . convert Formatted From Raw To Flat ( composition !! , ĠFrom Raw Conversion . create ()). to Mutable Map () ĊĠĠĠĠĠĠĠ ĠassertThat ( flatMap ). contains ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġentry (" vit als / vit als / ha em og lob in _ a 1 c : 0 / subject | name ", Ġ" M ari ja ĠMed ved "), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġentry (" vit als / vit als / ha em og lob in _ a 1 c : 0 / subject | id ", Ġ" 9 9 8 ") ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġflat Map [" ctx / language "] Ġ= Ġ" sl " ĊĠĠĠĠĠĠĠ Ġflat Map [" ctx / ter rit ory "] Ġ= Ġ" SI " ĊĠĠĠĠĠĠĠ Ġflat Map [" ctx / id _ scheme "] Ġ= Ġ" is pe k " ĊĠĠĠĠĠĠĠ Ġflat Map [" ctx / id _ namespace "] Ġ= Ġ" is pe k " ĊĠĠĠĠĠĠĠ Ġflat Map [" ctx / composer _ name "] Ġ= Ġ" Ge orge ĠOr well " ĊĊĠĠĠĠĠĠĠ Ġval Ġsecond Composition : ĠComp osition ? Ġ= Ġweb Template . convert From Flat To Raw ( flatMap , ĠConversion Context . create (). build ()) ĊĠĠĠĠĠĠĠ Ġval Ġsection Ġ= Ġsecond Composition !!. content [ 0 ] Ġas ĠSection ĊĠĠĠĠĠĠĠ Ġval Ġobservation Ġ= Ġsection . items [ 0 ] Ġas ĠOb servation ĊĠĠĠĠĠĠĠ ĠassertThat ( observation . subject !!. external Ref !!. id !!. value ). isEqualTo (" 9 9 8 ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġ@ Throws ( IOException :: class , ĠJAXB Exception :: class ) ĊĠĠĠ Ġfun Ġtest Null Entry Subject () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbuilder Context Ġ= ĠWeb Template Builder Context (" sl ") ĊĠĠĠĠĠĠĠ Ġval Ġweb Template : ĠWeb Template Ġ= ĠWeb Template Builder . build NonNull ( get Template ("/ convert / templates / Demo ĠV it als . opt "), Ġbuilder Context ) ĊĠĠĠĠĠĠĠ Ġval Ġcomposition : ĠComp osition ? Ġ= Ġweb Template . convert From Flat To Raw ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠImmutableMap . builder < String , ĠString >() ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / language ", Ġ" sl ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / ter rit ory ", Ġ" SI ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / id _ scheme ", Ġ" is pe k ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / id _ namespace ", Ġ" is pe k ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / composer _ name ", Ġ" Ge orge ĠOr well ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" vit als / vit als / ha em og lob in _ a 1 c / any _ event / test _ status | termin ology ", Ġ" local ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" vit als / vit als / ha em og lob in _ a 1 c / any _ event / test _ status | code ", Ġ" at 0 0 3 7 ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build (), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠConversion Context . create (). build () ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġval Ġsection Ġ= Ġcomposition !!. content [ 0 ] Ġas ĠSection ĊĠĠĠĠĠĠĠ Ġval Ġobservation Ġ= Ġsection . items [ 0 ] Ġas ĠOb servation ĊĠĠĠĠĠĠĠ Ġobservation . subject Ġ= Ġnull ĊĠĠĠĠĠĠĠ Ġval Ġfirst Flat Map : ĠMap < String , ĠString ?> Ġ= Ġweb Template . convert Formatted From Raw To Flat ( composition , ĠFrom Raw Conversion . create ()) ĊĠĠĠĠĠĠĠ ĠassertThat ( first Flat Map . keys ). does Not Contain (" vit als / vit als / ha em og lob in _ a 1 c : 0 / subject | name ", Ġ" vit als / vit als / ha em og lob in _ a 1 c : 0 / subject | id ") ĊĠĠĠĠĠĠĠ Ġobservation . subject Ġ= ĠParty Ident ified () ĊĠĠĠĠĠĠĠ Ġval Ġsecond Flat Map : ĠMap < String , ĠString ?> Ġ= Ġweb Template . convert Formatted From Raw To Flat ( composition , ĠFrom Raw Conversion . create ()) ĊĠĠĠĠĠĠĠ ĠassertThat ( second Flat Map . keys ). does Not Contain (" vit als / vit als / ha em og lob in _ a 1 c : 0 / subject | name ", Ġ" vit als / vit als / ha em og lob in _ a 1 c : 0 / subject | id ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġ@ Throws ( IOException :: class , ĠJAXB Exception :: class ) ĊĠĠĠ Ġfun Ġtest Flat Map () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbuilder Context Ġ= ĠWeb Template Builder Context (" en ") ĊĠĠĠĠĠĠĠ Ġval Ġweb Template : ĠWeb Template Ġ= ĠWeb Template Builder . build NonNull ( get Template ("/ convert / templates / clin ical - summary - events . opt "), Ġbuilder Context ) ĊĠĠĠĠĠĠĠ Ġval Ġcomposition : ĠComp osition ? Ġ= Ġweb Template . convert From Flat To Raw ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠImmutableMap . builder < String , ĠAny >() ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / language ", Ġ" pt ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / ter rit ory ", Ġ" BR ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" ctx / composer _ name ", Ġ" User ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events /_ uid ", Ġ" 7 5 bab 2 6 3 - a 9 d 4 - 4 5 2 2 - b 2 6 5 - bad a 4 b 2 9 8 f 5 6 :: b ost jan l :: 1 ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / context / start _ time ", Ġ" 2 0 1 5 - 1 0 - 0 5 T 1 0 : 2 6 : 1 8 . 0 0 0 Z ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / context / setting | code ", Ġ"") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / context / setting | value ", Ġ"") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / context / setting | termin ology ", Ġ"") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / ad mission / patient _ ad mission / patient _ class ", Ġ" Pr onto Ġsoc or ro ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / ad mission / patient _ ad mission / att ending _ doctor / id _ issuer ", Ġ" CRM - SP ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / ad mission / patient _ ad mission / ref erring _ doctor / id _ issuer ", Ġ" CRM - SP ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / ad mission / patient _ ad mission / consult ing _ doctor / id ", Ġ" 3 9 ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / ad mission / patient _ ad mission / consult ing _ doctor / name ", Ġ" Dr Â ª ĠM argar ida ĠMart ins ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / ad mission / patient _ ad mission / consult ing _ doctor / id _ issuer ", Ġ" CRM - SP ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / ad mission / patient _ ad mission / ad mit ting _ doctor / id ", Ġ" 3 9 ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / ad mission / patient _ ad mission / ad mit ting _ doctor / name ", Ġ" Dr Â ª ĠM argar ida ĠMart ins ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / ad mission / patient _ ad mission / ad mit ting _ doctor / id _ issuer ", Ġ" CRM - SP ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / ad mission / patient _ ad mission / ad mit _ date _ time ", Ġ" 2 0 1 3 - 1 1 - 1 9 T 1 7 : 0 0 : 0 0 . 0 0 0 Z ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / ad mission / patient _ ad mission / read mission ", Ġfalse ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / reason _ for _ en counter / reason _ for _ en counter : 0 /_ uid ", Ġ" d 0 8 3 c 3 e 3 - 8 4 0 3 - 4 8 fe - 8 bee - 9 2 7 dbc 6 4 1 f 0 7 ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / reason _ for _ en counter / reason _ for _ en counter : 0 /_ provider | name ", Ġ" Dr Â ª ĠM argar ida ĠMart ins ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / reason _ for _ en counter / reason _ for _ en counter : 0 / present ing _ problem ", Ġ" Cho que Ġan af il Ã¡t ico ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / episodes / reason _ for _ en counter / reason _ for _ en counter : 0 / registration _ date ", Ġ" 2 0 1 3 - 1 1 - 1 9 T 1 7 : 0 0 : 0 0 . 0 0 0 Z ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 /_ uid ", Ġ" 3 3 f 2 0 5 ad - 7 da 7 - 4 4 cc - 9 2 d 0 - 8 5 e 4 6 1 8 acf 6 4 ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 /_ provider | name ", Ġ" CH S ĠAdmin ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 / sub stance _ agent ", Ġ" Ant ib acter ian os ĠBeta - L act Ã¢ mic os , ĠPen ic il inas ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 / absolute _ con train dic ation ", Ġfalse ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 / overall _ comment ", Ġ"") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 / reaction _ event / specific _ sub stance _ agent ", Ġ" A mo x ic il ina ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 / reaction _ event / manifest ation : 0 ", Ġ" R ash , ĠU rt ic Ã¡ ria ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 / reaction _ event / reaction _ type ", Ġ" A ler g ia ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 / reaction _ event / cert ainty ", Ġ" Confirm ado ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 / reaction _ event / reaction _ description ", Ġ" Est a ĠÃ© Ġuma Ġre aÃ§Ã£o Ġque Ġa cont ece u Ġt ard i amente , Ġde pois Ġde ĠvÃ¡ rias Ġadmin ist ra Ã§Ãµes Ġdurante Ġa Ġv ida Ġda Ġpac iente Ġnas Ġqu ais ĠnÃ£o Ġh ou ve Ġqualquer Ġtipo Ġde Ġre aÃ§Ã£o Ġad ver sa Ġmanifest ada .") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 / reaction _ event / on set _ of _ reaction ", Ġ" 2 0 0 3 - 1 1 - 1 2 T 0 0 : 0 0 : 0 0 . 0 0 0 Z ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / al erg ies _ ad verse _ reactions _ and _ int oler ances / all erg ies _ and _ ad verse _ reactions / ad verse _ reaction : 0 / registration _ date ", Ġ" 2 0 0 3 - 1 1 - 1 9 T 1 7 : 0 0 : 0 0 . 0 0 0 Z ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / v ital _ sign s / blood _ pressure / blood _ pressure : 0 /_ uid ", Ġ" 8 eaf 3 9 3 d - 9 4 ac - 4 8 5 d - 8 0 5 8 - e 5 6 4 1 9 3 5 f 7 ad ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / v ital _ sign s / blood _ pressure / blood _ pressure : 0 /_ provider | name ", Ġ" Dr Â ª ĠM argar ida ĠMart ins ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / v ital _ sign s / blood _ pressure / blood _ pressure : 0 / any _ event : 0 / syst olic | magnitude ", Ġ 1 3 6 ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / v ital _ sign s / blood _ pressure / blood _ pressure : 0 / any _ event : 0 / syst olic | unit ", Ġ" mm [ Hg ]") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / v ital _ sign s / blood _ pressure / blood _ pressure : 0 / any _ event : 0 / di ast olic | magnitude ", Ġ 8 1 ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / v ital _ sign s / blood _ pressure / blood _ pressure : 0 / any _ event : 0 / di ast olic | unit ", Ġ" mm [ Hg ]") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. put (" clin ical _ summary _ events / v ital _ sign s / blood _ pressure / blood _ pressure : 0 / any _ event : 0 / time ", Ġ" 2 0 1 3 - 1 1 - 1 9 T 1 7 : 0 0 : 0 0 . 0 0 0 Z "). build (), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠConversion Context . create (). build ()) ĊĊĠĠĠĠĠĠĠ ĠassertThat ( composition ?. content Ġ?: Ġempty List ()). isNotEmpty ĊĠĠĠ Ġ} Ċ } Ċ