Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str With Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str keyword Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad Call NameLoad Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr attr AttributeLoad Call NameLoad Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr attr AttributeLoad Call NameLoad Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Index Num attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list
N/A N/A os N/A io N/A unittest N/A json N/A basic fhirdate FHIRDate BasicTests N/A N/A unittest TestCase N/A instantiate_from N/A N/A self filename N/A N/A N/A datadir N/A N/A N/A N/A os environ get FHIR_UNITTEST_DATADIR N/A N/A N/A io open N/A N/A N/A os path join datadir filename r encoding utf-8 handle N/A N/A js N/A N/A json load handle N/A N/A N/A self assertEqual Basic N/A js N/A resourceType N/A N/A N/A basic Basic js N/A testBasic1 N/A N/A self N/A N/A N/A inst N/A N/A self instantiate_from basic-example-narrative.json N/A N/A N/A self assertIsNotNone inst Must have instantiated a Basic instance N/A N/A N/A self implBasic1 inst N/A js N/A N/A inst as_json N/A N/A N/A self assertEqual Basic N/A js N/A resourceType N/A inst2 N/A N/A basic Basic js N/A N/A N/A self implBasic1 inst2 N/A implBasic1 N/A N/A self inst N/A N/A N/A N/A N/A self assertEqual N/A N/A inst code text Example Narrative Tester N/A N/A N/A self assertEqual N/A inst id basic-example-narrative N/A N/A N/A self assertEqual N/A N/A inst text status additional N/A testBasic2 N/A N/A self N/A N/A N/A inst N/A N/A self instantiate_from basic-example.json N/A N/A N/A self assertIsNotNone inst Must have instantiated a Basic instance N/A N/A N/A self implBasic2 inst N/A js N/A N/A inst as_json N/A N/A N/A self assertEqual Basic N/A js N/A resourceType N/A inst2 N/A N/A basic Basic js N/A N/A N/A self implBasic2 inst2 N/A implBasic2 N/A N/A self inst N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A inst code coding N/A 0 code referral N/A N/A N/A self assertEqual N/A N/A N/A N/A inst code coding N/A 0 system http://hl7.org/fhir/basic-resource-type N/A N/A N/A self assertEqual N/A N/A inst created date N/A N/A FHIRDate 2013-05-14 date N/A N/A N/A self assertEqual N/A N/A N/A inst created as_json 2013-05-14 N/A N/A N/A self assertEqual N/A N/A N/A inst extension N/A 0 url http://example.org/do-not-use/fhir-extensions/referral#requestingPractitioner N/A N/A N/A self assertEqual N/A N/A N/A inst extension N/A 1 url http://example.org/do-not-use/fhir-extensions/referral#notes N/A N/A N/A self assertEqual N/A N/A N/A inst extension N/A 1 valueString The patient had fever peaks over the last couple of days. He is worried about these peaks. N/A N/A N/A self assertEqual N/A N/A N/A inst extension N/A 2 url http://example.org/do-not-use/fhir-extensions/referral#fulfillingEncounter N/A N/A N/A self assertEqual N/A inst id referral N/A N/A N/A self assertEqual N/A N/A N/A inst modifierExtension N/A 0 url http://example.org/do-not-use/fhir-extensions/referral#referredForService N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A inst modifierExtension N/A 0 valueCodeableConcept coding N/A 0 code 11429006 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A inst modifierExtension N/A 0 valueCodeableConcept coding N/A 0 display Consultation N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A inst modifierExtension N/A 0 valueCodeableConcept coding N/A 0 system http://snomed.info/sct N/A N/A N/A self assertEqual N/A N/A N/A inst modifierExtension N/A 1 url http://example.org/do-not-use/fhir-extensions/referral#targetDate N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A inst modifierExtension N/A 1 valuePeriod end date N/A N/A FHIRDate 2013-04-15 date N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A inst modifierExtension N/A 1 valuePeriod end as_json 2013-04-15 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A inst modifierExtension N/A 1 valuePeriod start date N/A N/A FHIRDate 2013-04-01 date N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A inst modifierExtension N/A 1 valuePeriod start as_json 2013-04-01 N/A N/A N/A self assertEqual N/A N/A N/A inst modifierExtension N/A 2 url http://example.org/do-not-use/fhir-extensions/referral#status N/A N/A N/A self assertEqual N/A N/A N/A inst modifierExtension N/A 2 valueCode complete N/A N/A N/A self assertEqual N/A N/A inst text status generated N/A testBasic3 N/A N/A self N/A N/A N/A inst N/A N/A self instantiate_from basic-example2.json N/A N/A N/A self assertIsNotNone inst Must have instantiated a Basic instance N/A N/A N/A self implBasic3 inst N/A js N/A N/A inst as_json N/A N/A N/A self assertEqual Basic N/A js N/A resourceType N/A inst2 N/A N/A basic Basic js N/A N/A N/A self implBasic3 inst2 N/A implBasic3 N/A N/A self inst N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A inst code coding N/A 0 code UMLCLASSMODEL N/A N/A N/A self assertEqual N/A N/A N/A N/A inst code coding N/A 0 system http://example.org/do-not-use/fhir-codes#resourceTypes N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 0 url name N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 0 valueString Class1 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 1 extension N/A 0 url name N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 1 extension N/A 0 valueString attribute1 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 1 extension N/A 1 url minOccurs N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 1 extension N/A 1 valueInteger 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 1 extension N/A 2 url maxOccurs N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 1 extension N/A 2 valueCode * N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 1 url attribute N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 2 extension N/A 0 url name N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 2 extension N/A 0 valueString attribute2 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 2 extension N/A 1 url minOccurs N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 2 extension N/A 1 valueInteger 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 2 extension N/A 2 url maxOccurs N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 2 extension N/A 2 valueInteger 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A inst extension N/A 0 extension N/A 2 url attribute N/A N/A N/A self assertEqual N/A N/A N/A inst extension N/A 0 url http://example.org/do-not-use/fhir-extensions/UMLclass N/A N/A N/A self assertEqual N/A inst id classModel N/A N/A N/A self assertEqual N/A N/A inst text status generated N/A N/A