def test_questionnaire(self): q = Questionnaire(name='testy') q_ref = Reference.questionnaire(q.name) self.assertEquals(q_ref.as_fhir()['display'], 'testy')
def test_questionnaire(self): q = self.add_questionnaire('epic1000') q_ref = Reference.questionnaire(q.name) assert q_ref.as_fhir()['display'] == 'epic1000'