@Test public void createType() { Assert.assertEquals( EnrollmentRequest.class, utils.createResource( "enrollment-request" ).getClass() ); }
@Nonnull @Override public IBaseElement createType( @Nonnull String fhirType ) { try { return ResourceFactory.createType( fhirType ); } catch ( FHIRException e ) { throw new FhirRepositoryException( "Unknown FHIR type: " + fhirType, e ); } }
R4FhirResourceDhisToFhirTransformerUtils extends AbstractFhirResourceDhisToFhirTransformerUtils { @Nonnull @Override public IBaseElement createType( @Nonnull String fhirType ) { try { return ResourceFactory.createType( fhirType ); } catch ( FHIRException e ) { throw new FhirRepositoryException( "Unknown FHIR type: " + fhirType, e ); } } }
R4FhirResourceDhisToFhirTransformerUtils extends AbstractFhirResourceDhisToFhirTransformerUtils { @Nonnull @Override public IBaseElement createType( @Nonnull String fhirType ) { try { return ResourceFactory.createType( fhirType ); } catch ( FHIRException e ) { throw new FhirRepositoryException( "Unknown FHIR type: " + fhirType, e ); } } R4FhirResourceDhisToFhirTransformerUtils( @Nonnull ScriptExecutionContext scriptExecutionContext ); }
R4FhirResourceDhisToFhirTransformerUtils extends AbstractFhirResourceDhisToFhirTransformerUtils { @Nonnull @Override public IBaseElement createType( @Nonnull String fhirType ) { try { return ResourceFactory.createType( fhirType ); } catch ( FHIRException e ) { throw new FhirRepositoryException( "Unknown FHIR type: " + fhirType, e ); } } R4FhirResourceDhisToFhirTransformerUtils( @Nonnull ScriptExecutionContext scriptExecutionContext ); @Nonnull @Override Set<FhirVersion> getFhirVersions(); @Nonnull @Override IBaseResource createResource( @Nonnull String resourceType ); @Nonnull @Override IBaseBundle createBundle( @Nonnull List<IBaseResource> result ); @Nonnull @Override ICompositeType createCodeableConcept(); @Nonnull @Override IBaseReference createReference( @Nonnull IBaseResource resource ); @Nonnull @Override IBaseElement createType( @Nonnull String fhirType ); @Override boolean containsString( @Nonnull List<? extends IPrimitiveType<String>> stringList, @Nullable String value ); @Override boolean equalsDeep( @Nonnull IBase base1, @Nonnull IBase base2 ); }
R4FhirResourceDhisToFhirTransformerUtils extends AbstractFhirResourceDhisToFhirTransformerUtils { @Nonnull @Override public IBaseElement createType( @Nonnull String fhirType ) { try { return ResourceFactory.createType( fhirType ); } catch ( FHIRException e ) { throw new FhirRepositoryException( "Unknown FHIR type: " + fhirType, e ); } } R4FhirResourceDhisToFhirTransformerUtils( @Nonnull ScriptExecutionContext scriptExecutionContext ); @Nonnull @Override Set<FhirVersion> getFhirVersions(); @Nonnull @Override IBaseResource createResource( @Nonnull String resourceType ); @Nonnull @Override IBaseBundle createBundle( @Nonnull List<IBaseResource> result ); @Nonnull @Override ICompositeType createCodeableConcept(); @Nonnull @Override IBaseReference createReference( @Nonnull IBaseResource resource ); @Nonnull @Override IBaseElement createType( @Nonnull String fhirType ); @Override boolean containsString( @Nonnull List<? extends IPrimitiveType<String>> stringList, @Nullable String value ); @Override boolean equalsDeep( @Nonnull IBase base1, @Nonnull IBase base2 );  }