extract from ng-fhir, tests init