class R4EncounterDhisToFhirTransformerUtils extends AbstractEncounterDhisToFhirTransformerUtils {

    @Nullable
    @Override
    public Enum<?> getEncounterStatus( @Nonnull String code ) throws TransformerException
    {
        try
        {
            return Encounter.EncounterStatus.fromCode( code );
        }
        catch ( FHIRException e )
        {
            throw new TransformerScriptException( "Unknown encounter status code: " + code, e );
        }
    }

    public  R4EncounterDhisToFhirTransformerUtils( @Nonnull ScriptExecutionContext scriptExecutionContext );

}